diff options
-rw-r--r-- | test/harness.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/harness.h b/test/harness.h index 43d163b..7b7d1c3 100644 --- a/test/harness.h +++ b/test/harness.h @@ -40,7 +40,7 @@ void test_fail(test_env *env, const char *err, ...); #define RUN_TEST(name) do { \ if (!test_start(env, #name)) return false; \ - if (setjmp(*test_escape(env)) != 0) { success = false; break; } \ + if (setjmp(*test_escape(env)) != 0) { test_cleanup(env); success = false; break; } \ testcase_##name(env); \ if (!test_cleanup(env)) return false; \ } while (0) |