summaryrefslogtreecommitdiff
path: root/contrib/t/parallel-tests-html.sh
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/t/parallel-tests-html.sh')
-rwxr-xr-xcontrib/t/parallel-tests-html.sh10
1 files changed, 6 insertions, 4 deletions
diff --git a/contrib/t/parallel-tests-html.sh b/contrib/t/parallel-tests-html.sh
index eca818da2..5fdd36add 100755
--- a/contrib/t/parallel-tests-html.sh
+++ b/contrib/t/parallel-tests-html.sh
@@ -45,6 +45,8 @@ check_SCRIPTS = bla
bla:
echo bla > $@
CLEANFILES = bla
+## Initialization of this required by 'check-html.am', below.
+MOSTLYCLEANFILES =
include $(srcdir)/check-html.am
END
@@ -87,12 +89,12 @@ test ! -e bla
# Always create the HTML output, even if there were no failures.
rm -f mylog.html
-run_make TESTS=foo.test check-html
+$MAKE TESTS=foo.test check-html
test -f mylog.html
# Create summarizing HTML output also with recheck-html.
rm -f mylog.html
-run_make TESTS=foo.test recheck-html
+$MAKE TESTS=foo.test recheck-html
test -f mylog.html
# Create HTML output for an individual test.
@@ -120,7 +122,7 @@ test ! -e mylog.html
$MAKE clean
test ! -e mylog.html
-run_make TEST_LOGS=foo.log check-html
+$MAKE check-html TESTS=foo
test -f bla
test -f foo.log
test ! -e bar.log
@@ -128,7 +130,7 @@ test ! -e baz.log
test -f mylog.html
$MAKE clean
-run_make TESTS=foo.test recheck-html
+$MAKE recheck-html TESTS=foo.test
test -f bla
test ! -e foo.log
test -f mylog.html