New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Skip test if NDEBUG is set #770
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Neat solution, but I think you changed more than needed, see inline comment.
testsuite/do_tests.sh.in
Outdated
@@ -493,7 +493,8 @@ CODES_FAILURE=\ | |||
|
|||
run_test selftests/test_fail_or_die.sli "${CODES_SUCCESS}" "${CODES_SKIPPED}" "${CODES_FAILURE}" | |||
|
|||
CODES_SUCCESS=' 3 Success' | |||
CODES_SUCCESS=' 3 Success,'\ | |||
' 200 Skipped,' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Skipping is not success. I think CODES_SUCCESS
should remain unchanged. The 200
exit code from the script will then be registered and reported as a skipped test. CODES_SKIPPED
is defined for the entire file around line 435.
Ah, OK. Then I misunderstood how skipping works. I've reverted my changes to |
Tested and approved ! |
This fixes #272.