Skip to content

Commit aea022a

Browse files
authored
Merge pull request #185 from wolfSSL/update-var
Update Test Suite
2 parents 532d601 + 8c82a5c commit aea022a

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

.github/scripts/check-workflow-result.sh

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,10 @@ TEST_SUITE="${3:-}"
3333
# Ensure TEST_RESULT is treated as a number
3434
TEST_RESULT=$((TEST_RESULT + 0))
3535

36-
# If force fail is empty treat second arg as test suite
37-
if [ -z "$WOLFPROV_FORCE_FAIL" ]; then
38-
TEST_SUITE="${2:-}"
36+
# If test suite is empty treat second arg as test suite
37+
if [ -z "$TEST_SUITE" ]; then
38+
TEST_SUITE=$WOLFPROV_FORCE_FAIL
39+
WOLFPROV_FORCE_FAIL=""
3940
fi
4041

4142
if [ "$WOLFPROV_FORCE_FAIL" = "WOLFPROV_FORCE_FAIL=1" ]; then

0 commit comments

Comments
 (0)