diff --git a/test/litest-selftest.c b/test/litest-selftest.c index cc1733f3..f4188445 100644 --- a/test/litest-selftest.c +++ b/test/litest-selftest.c @@ -449,7 +449,7 @@ main (int argc, char **argv) * raised by a test will fail in valgrind. There's nothing to * memcheck here anyway, so just skip the valgrind test */ if (RUNNING_ON_VALGRIND) - return EXIT_SUCCESS; + return 77; s = litest_assert_macros_suite(); sr = srunner_create(s); diff --git a/test/test-utils.c b/test/test-utils.c index 61febce9..356cd435 100644 --- a/test/test-utils.c +++ b/test/test-utils.c @@ -1072,7 +1072,7 @@ int main(int argc, char **argv) * raised by a test will fail in valgrind. There's nothing to * memcheck here anyway, so just skip the valgrind test */ if (RUNNING_ON_VALGRIND) - return EXIT_SUCCESS; + return 77; s = litest_utils_suite(); sr = srunner_create(s);