
Added cr_skip_test to skip a test during runtime. Also merged the old disable system with the new one. All skipped tests are printed by normal_log_post_suite(), so there is no need for a logger function for runtime skipepd tests. Fixes #131.
10 lines
221 B
C
10 lines
221 B
C
#include <criterion/criterion.h>
|
|
|
|
Test(misc, skipping) {
|
|
cr_skip_test();
|
|
cr_assert_fail("We want to skip before failing");
|
|
}
|
|
|
|
Test(misc, message) {
|
|
cr_skip_test("Skips may take %s", "printf-like messages");
|
|
}
|