tests: The pthreadpooltests do not need a full environment
authorVolker Lendecke <vl@samba.org>
Fri, 5 Jan 2018 09:45:41 +0000 (10:45 +0100)
committerJeremy Allison <jra@samba.org>
Fri, 5 Jan 2018 23:07:17 +0000 (00:07 +0100)
Makes "make test TESTS=pthreadpool" faster

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
source3/selftest/tests.py

index 8075f78b03f6377ad90ebec7854a3f3ea5708d06..54969f8cc81795dd34644551bcedf4f14c76ac02 100755 (executable)
@@ -334,11 +334,11 @@ plantestsuite("samba3.blackbox.testparm", "nt4_dc:local",
                "$LOCAL_PATH"])
 
 plantestsuite(
-    "samba3.pthreadpool", "nt4_dc",
+    "samba3.pthreadpool", "none",
     [os.path.join(samba3srcdir, "script/tests/test_pthreadpool.sh")])
 
 if with_pthreadpool and have_ldwrap:
-    plantestsuite("samba3.pthreadpool_cmocka", "nt4_dc",
+    plantestsuite("samba3.pthreadpool_cmocka", "none",
                   [os.path.join(bindir(), "pthreadpooltest_cmocka")])
 
 plantestsuite("samba3.async_req", "nt4_dc",