From 2185a9d6bdab97ee3d9df06c0f7d1833183aa0ca Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Tue, 30 Apr 2019 13:12:23 +1000 Subject: [PATCH] test: return 77 for skip when we're not running a test This isn't technically needed since those tests aren't in the valgrind test suite anymore. But let's have it here anyway. Signed-off-by: Peter Hutterer --- test/litest-selftest.c | 2 +- test/test-utils.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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);