We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bef7476 commit 65747a1Copy full SHA for 65747a1
1 file changed
src/runner.sh
@@ -2,10 +2,11 @@
2
# shellcheck disable=SC2155
3
4
# Pre-compiled regex pattern for parsing test result assertions
5
-# Used in runner::parse_result_sync() to extract assertion counts and exit codes
6
-declare -r RUNNER_PARSE_RESULT_REGEX='ASSERTIONS_FAILED=([0-9]*)##ASSERTIONS_PASSED=([0-9]*)##'\
+if [[ -z ${RUNNER_PARSE_RESULT_REGEX+x} ]]; then
+ declare -r RUNNER_PARSE_RESULT_REGEX='ASSERTIONS_FAILED=([0-9]*)##ASSERTIONS_PASSED=([0-9]*)##'\
7
'ASSERTIONS_SKIPPED=([0-9]*)##ASSERTIONS_INCOMPLETE=([0-9]*)##ASSERTIONS_SNAPSHOT=([0-9]*)##'\
8
'TEST_EXIT_CODE=([0-9]*)'
9
+fi
10
11
function runner::load_test_files() {
12
local filter=$1
0 commit comments