* lib/am/parallel-tests.am: Here (unless already defined) ...
* automake.in (handle_tests): ... rather than here.
Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
}
else
{
- define_variable ('TEST_SUITE_LOG', INTERNAL, 'test-suite.log');
require_conf_file ("parallel-tests", FOREIGN, 'test-driver');
almost_verbatim ('parallel-tests', 'CHECK-DEPS' => "@check");
}
&& sed 's/$$/.trs/' $$workdir/bases > $$workdir/trs
endef
+ifeq ($(call am.vars.is-undef,TEST_SUITE_LOG),yes)
+ TEST_SUITE_LOG = test-suite.log
+endif
+
$(TEST_SUITE_LOG): $(am.test-suite.test-logs) $(am.test-suite.test-results)
$(am.setup-test-harness-workdir)
@set +e; $(am.test-suite.tty-colors); \