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
|
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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user