summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2017-05-31 10:45:47 +0200
committerThomas Haller <thaller@redhat.com>2017-05-31 10:46:43 +0200
commit5235b1740fd4c1ac412b56b805342900cde989f4 (patch)
tree662df30fa4f47c44926d4560444416b4c91a22a7
parent21a941d40b6619a6243aa561b2c8d4573fccfc34 (diff)
downloadNetworkManager-5235b1740fd4c1ac412b56b805342900cde989f4.tar.gz
shared/tests: document how to disable slow tests at compile-time
-rw-r--r--shared/nm-utils/nm-test-utils.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/shared/nm-utils/nm-test-utils.h b/shared/nm-utils/nm-test-utils.h
index d2d96620cc..5be8b8047b 100644
--- a/shared/nm-utils/nm-test-utils.h
+++ b/shared/nm-utils/nm-test-utils.h
@@ -82,7 +82,8 @@
* Whether long-running tests are enabled is determined as follows (highest priority first):
* - specifying the value in NMTST_DEBUG has highest priority
* - respect g_test_quick(), if the command line contains '-mslow', '-mquick', '-mthorough'.
- * - use compile time default
+ * - use compile time default (CFLAGS=-DNMTST_TEST_QUICK=TRUE)
+ * - enable slow tests by default
*
* "p=PATH"|"s=PATH": passes the path to g_test_init() as "-p" and "-s", respectively.
* Unfortunately, these options conflict with "--tap" which our makefile passes to the