summaryrefslogtreecommitdiff
path: root/t/test-trs-recover2.sh
diff options
context:
space:
mode:
authorStefano Lattarini <stefano.lattarini@gmail.com>2012-04-26 22:25:35 +0200
committerStefano Lattarini <stefano.lattarini@gmail.com>2012-04-30 17:45:22 +0200
commitf5733aabe7c186a04f288214cb840a423d5b821b (patch)
tree88653eeab7898ae12f87a639932f65d66102e15f /t/test-trs-recover2.sh
parent6e5b444165b420ba757fed2f3973da37d6df6ffe (diff)
downloadautomake-f5733aabe7c186a04f288214cb840a423d5b821b.tar.gz
parallel-tests: optimize 'recheck' target for speed
With this change, the time required to execute the test case 'testsuite-recheck-speed.sh' has dropped as follows: + Slow Debian i686 system, 1 core x 1.5 GHz, 768 MB of RAM, GNU make 3.81: - 1 run: 6 minutes => 40 seconds + Fast Solaris 10 i686 system, 4 cores x 3 GHz, 20 GB of RAM, Solaris CCS make: - 4 runs: 3 minutes => 1 minute + Very fast Fedora ppc64 system, 64 cores x 3.5 GHz, 64 GB of RAM, GNU make 3.82: - 5 runs: 4 minutes => 1 minute 30 seconds * lib/am/check.am (recheck): Optimize for speed, by avoiding lots of forks with the help of ... (am__list_recheck_tests): ... this new internal variable, basically defining a proper awk program, and ... (am__recheck_rx): ... this other new internal variable, used by the one above. * t/test-trs-recover2.sh: Relax by not checking for a very corner case ('.log' and '.trs' files both unreadable) that we don't handle anymore. Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
Diffstat (limited to 't/test-trs-recover2.sh')
-rwxr-xr-xt/test-trs-recover2.sh10
1 files changed, 0 insertions, 10 deletions
diff --git a/t/test-trs-recover2.sh b/t/test-trs-recover2.sh
index 97268703d..a154ce709 100755
--- a/t/test-trs-recover2.sh
+++ b/t/test-trs-recover2.sh
@@ -80,16 +80,6 @@ test -r bar.trs
grep '^PASS: foo\.test' stdout
grep '^PASS: bar\.test' stdout
-: More complex interactions with "make recheck" are OK.
-chmod a-r bar.log bar.trs
-$MAKE recheck >stdout || { cat stdout; Exit 1; }
-cat stdout
-test -f bar.trs
-test -r bar.trs
-grep '^PASS: bar\.test' stdout
-grep 'foo\.test' stdout && Exit 1
-count_test_results total=1 pass=1 fail=0 xpass=0 xfail=0 skip=0 error=0
-
: Recreate by remaking the global test log.
chmod a-r foo.trs
rm -f test-suite.log