programs/test_util.c: don't be noisy about skipping perf tests

This commit is contained in:
Eric Biggers 2020-10-18 14:21:25 -07:00
parent cda4447098
commit eb54d9e257

View File

@ -62,12 +62,10 @@ assertion_failed(const char *expr, const char *file, int line)
void void
begin_performance_test(void) begin_performance_test(void)
{ {
if (getenv("INCLUDE_PERF_TESTS") == NULL) { /* Skip performance tests by default, since they can be flaky. */
printf("Skipping '%"TS"' since it's a performance test, which may be flaky.\n", if (getenv("INCLUDE_PERF_TESTS") == NULL)
program_invocation_name);
exit(0); exit(0);
} }
}
static size_t static size_t
get_page_size(void) get_page_size(void)