summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2016-08-01 14:09:02 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2016-08-02 11:32:03 +1000
commit6cde53fc1d8aae22f780eeee23199a41ab1521f3 (patch)
tree3824cff21b5f714dbefef1e4ad97d0681d63b841 /doc
parent681f967c8fb67d4af8de49a4298965ba61878384 (diff)
test: if we're in a debugger, use single-fork mode only
Don't fork by default if we're in gdb. Note that is_debugger_attached() is now inside #ifndef LITEST_NO_MAIN, gdb for the litest selftest will now require a manual CK_FORK=no. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'doc')
-rw-r--r--doc/test-suite.dox3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/test-suite.dox b/doc/test-suite.dox
index 67d1805..e6fbe62 100644
--- a/doc/test-suite.dox
+++ b/doc/test-suite.dox
@@ -11,7 +11,8 @@ The test suite has a make-like job control enabled by the `-j` or `--jobs`
flag and will fork off as many parallel processes as given by this flag. The
default if unspecified is 8. When debugging a specific test case failure it
is recommended to employ test filtures (see @ref test-filtering) and disable
-parallel tests.
+parallel tests. The test suite automatically disables parallel make when run
+in gdb.
@section test-config X.Org config to avoid interference