From 9465c5c28d52c6a9a73a4f5c669ecf3d43746b20 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Valverde?= Date: Sat, 18 Dec 2021 13:23:53 +0000 Subject: wmem_test: Disable performance tests by default These are not pass/fail tests, so the automation cannot validate them. They just slow down the CI builds. To enable pass -m perf. I think the --verbose comment is wrong, I did not detect any difference in output with or without --verbose. --- wsutil/wmem/wmem_test.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wsutil/wmem/wmem_test.c b/wsutil/wmem/wmem_test.c index cfc6c7a4f4..0f8f1c20b7 100644 --- a/wsutil/wmem/wmem_test.c +++ b/wsutil/wmem/wmem_test.c @@ -503,7 +503,7 @@ wmem_test_strutls(void) utime_ms = (end_utime - start_utime) * 1000.0; \ stime_ms = (end_stime - start_stime) * 1000.0 -/* NOTE: You have to run "wmem_test --verbose" to see results. */ +/* NOTE: You have to run "wmem_test -m perf" to run the performance tests. */ static void wmem_test_stringperf(void) { @@ -1466,7 +1466,7 @@ main(int argc, char **argv) g_test_add_func("/wmem/utils/misc", wmem_test_miscutls); g_test_add_func("/wmem/utils/strings", wmem_test_strutls); - if (!g_test_perf ()) { + if (g_test_perf()) { g_test_add_func("/wmem/utils/stringperf", wmem_test_stringperf); } -- cgit v1.2.3