selftest Don't run 'speed' tests for very long
authorAndrew Bartlett <abartlet@samba.org>
Thu, 23 Sep 2010 07:32:46 +0000 (17:32 +1000)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 23 Sep 2010 23:25:44 +0000 (09:25 +1000)
'make test' is too long, and the main thing we need with these
tests is to ensure they don't segfault - there is no need to benchmark
every box in the build farm, and we have no 'fail' metric in any case.

Andrew Bartlett

selftest/selftest.pl

index 37360b941311c9bf8fcf3885490e40839ffaf878..254c347b807a4c3fe03d18ecf2efaee9f904f7df 100755 (executable)
@@ -593,6 +593,8 @@ sub write_clientconf($$$)
        modules dir = $ENV{LD_SAMBA_MODULE_PATH}
        setup directory = ./setup
        resolv:host file = $prefix_abs/dns_host_file
+#We don't want to run 'speed' tests for very long
+        torture:timelimit = 1
 ";
        close(CF);
 }