From eb54d9e257b84ca03233daa7cb1abbb3794a37c4 Mon Sep 17 00:00:00 2001 From: Eric Biggers Date: Sun, 18 Oct 2020 14:21:25 -0700 Subject: [PATCH] programs/test_util.c: don't be noisy about skipping perf tests --- programs/test_util.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/programs/test_util.c b/programs/test_util.c index 63eb536..20e7c21 100644 --- a/programs/test_util.c +++ b/programs/test_util.c @@ -62,11 +62,9 @@ assertion_failed(const char *expr, const char *file, int line) void begin_performance_test(void) { - if (getenv("INCLUDE_PERF_TESTS") == NULL) { - printf("Skipping '%"TS"' since it's a performance test, which may be flaky.\n", - program_invocation_name); + /* Skip performance tests by default, since they can be flaky. */ + if (getenv("INCLUDE_PERF_TESTS") == NULL) exit(0); - } } static size_t