mirror of
https://github.com/cuberite/libdeflate.git
synced 2025-08-04 02:06:31 -04:00
programs/test_util.c: don't be noisy about skipping perf tests
This commit is contained in:
parent
cda4447098
commit
eb54d9e257
@ -62,12 +62,10 @@ 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
|
||||
get_page_size(void)
|
||||
|
Loading…
x
Reference in New Issue
Block a user