diff options
author | Stefano Lattarini <stefano.lattarini@gmail.com> | 2012-07-25 19:06:22 +0200 |
---|---|---|
committer | Stefano Lattarini <stefano.lattarini@gmail.com> | 2012-07-26 13:35:24 +0200 |
commit | 42d9439da93eb64ef3bb96e012cf4ab88f7f63ac (patch) | |
tree | 6617a54ab3e9fbd8717da089a917c0204b4fb70a /Makefile.am | |
parent | 3971f998c5388a46581b2a2c273283ef6f1e5408 (diff) | |
download | automake-42d9439da93eb64ef3bb96e012cf4ab88f7f63ac.tar.gz |
perf tests: reorganize
* t/list-of-tests.mk (handwritten_TESTS): Don't list ($perf_TESTS) in
here anymore.
* Makefile.am (EXTRA_DIST): Add them explicitly.
(perf): New target, run the performance tests and save the logs of
the ones with unexpected results in the file 't/perf/test-suite.log',
which is thus ...
(PERF_TEST_SUITE_LOG): ... defined in this variable ...
(CLEANFILES): ... and added to this.
(test_subdirs): Remove 't/perf': the tests in there are no more
listed in $(TESTS).
* t/ax/test-init.sh: Don't explicitly skip "perf" test here.
Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am index 5aa543e9c..a472ff4e4 100644 --- a/Makefile.am +++ b/Makefile.am @@ -462,7 +462,7 @@ check-local: check-tests-syntax .PHONY: check-tests-syntax ## Checking the list of tests. -test_subdirs = t t/pm t/perf +test_subdirs = t t/pm include $(srcdir)/t/CheckListOfTests.am # Run the testsuite with the installed aclocal and automake. @@ -470,6 +470,15 @@ installcheck-local: installcheck-testsuite installcheck-testsuite: am_running_installcheck=yes $(MAKE) $(AM_MAKEFLAGS) check +# Performance tests. +.PHONY: perf +perf: all + $(MAKE) $(AM_MAKEFLAGS) TEST_SUITE_LOG='$(PERF_TEST_SUITE_LOG)' \ + TESTS='$(perf_TESTS)' check +PERF_TEST_SUITE_LOG = t/perf/test-suite.log +CLEANFILES += $(PERF_TEST_SUITE_LOG) +EXTRA_DIST += $(perf_TESTS) + clean-local: clean-local-check .PHONY: clean-local-check clean-local-check: |