2016-01-16 13:24:35 +01:00
|
|
|
Testing --fail-fast
|
|
|
|
|
|
|
|
$ simple.c.bin --fail-fast --verbose
|
2016-01-16 14:47:46 +01:00
|
|
|
[\x1b[0;34m----\x1b[0m] Criterion v2.2.0 (esc)
|
|
|
|
[\x1b[0;34m====\x1b[0m] Running \x1b[0;34m2\x1b[0m tests from \x1b[0;33mmisc\x1b[0m: (esc)
|
|
|
|
[\x1b[0;34mRUN \x1b[0m] misc::failing (esc)
|
|
|
|
[\x1b[0;34m----\x1b[0m] \x1b[0;1msimple.c\x1b[0m:\x1b[0;31m4\x1b[0m: Assertion failed: The expression 0 is false. (esc)
|
|
|
|
[\x1b[0;31mFAIL\x1b[0m] misc::failing (esc)
|
|
|
|
[\x1b[0;34m====\x1b[0m] \x1b[0;1mSynthesis: Tested: \x1b[0;34m1\x1b[0;1m | Passing: \x1b[0;32m0\x1b[0;1m | Failing: \x1b[0;31m1\x1b[0;1m | Crashing: \x1b[0;31m0\x1b[0;1m \x1b[0m (esc)
|
|
|
|
[1]
|
2016-01-16 13:24:35 +01:00
|
|
|
|
|
|
|
Testing CRITERION_FAIL_FAST
|
|
|
|
|
|
|
|
$ CRITERION_FAIL_FAST=1 simple.c.bin --verbose
|
2016-01-16 14:47:46 +01:00
|
|
|
[\x1b[0;34m----\x1b[0m] Criterion v2.2.0 (esc)
|
|
|
|
[\x1b[0;34m====\x1b[0m] Running \x1b[0;34m2\x1b[0m tests from \x1b[0;33mmisc\x1b[0m: (esc)
|
|
|
|
[\x1b[0;34mRUN \x1b[0m] misc::failing (esc)
|
|
|
|
[\x1b[0;34m----\x1b[0m] \x1b[0;1msimple.c\x1b[0m:\x1b[0;31m4\x1b[0m: Assertion failed: The expression 0 is false. (esc)
|
|
|
|
[\x1b[0;31mFAIL\x1b[0m] misc::failing (esc)
|
|
|
|
[\x1b[0;34m====\x1b[0m] \x1b[0;1mSynthesis: Tested: \x1b[0;34m1\x1b[0;1m | Passing: \x1b[0;32m0\x1b[0;1m | Failing: \x1b[0;31m1\x1b[0;1m | Crashing: \x1b[0;31m0\x1b[0;1m \x1b[0m (esc)
|
|
|
|
[1]
|