mirror of
git://git.savannah.gnu.org/libtool.git
synced 2024-11-27 06:09:57 +08:00
tests: run cmdline_wrap last, or not at all if anything else failed.
* Makefile.am (TESTSUITE_AT): Move stresstest.at and cmdline_wrap.at to the end of the list. * tests/cmdline_wrap.at: If previous tests have failed, then we already know that rerunning them will fail too, so save time by skipping in that case. Signed-off-by: Gary V. Vaughan <gary@gnu.org>
This commit is contained in:
parent
3050db962c
commit
83405160af
11
Makefile.am
11
Makefile.am
@ -604,7 +604,9 @@ tests_dir = $(top_srcdir)/tests
|
|||||||
package_m4 = $(tests_dir)/package.m4
|
package_m4 = $(tests_dir)/package.m4
|
||||||
testsuite = $(tests_dir)/testsuite
|
testsuite = $(tests_dir)/testsuite
|
||||||
|
|
||||||
# The testsuite files are evaluated in the order given here.
|
# The testsuite files are evaluated in the order given here. When
|
||||||
|
# adding new tests, make sure cmdline_wrap.at stays at the end so
|
||||||
|
# that it can check for previous failures and skip if necessary.
|
||||||
TESTSUITE = tests/testsuite
|
TESTSUITE = tests/testsuite
|
||||||
TESTSUITE_AT = tests/testsuite.at \
|
TESTSUITE_AT = tests/testsuite.at \
|
||||||
tests/libtoolize.at \
|
tests/libtoolize.at \
|
||||||
@ -672,14 +674,15 @@ TESTSUITE_AT = tests/testsuite.at \
|
|||||||
tests/no-executables.at \
|
tests/no-executables.at \
|
||||||
tests/deplibs-ident.at \
|
tests/deplibs-ident.at \
|
||||||
tests/configure-iface.at \
|
tests/configure-iface.at \
|
||||||
tests/stresstest.at \
|
|
||||||
tests/cmdline_wrap.at \
|
|
||||||
tests/f77demo.at \
|
tests/f77demo.at \
|
||||||
tests/fcdemo.at \
|
tests/fcdemo.at \
|
||||||
tests/darwin.at \
|
tests/darwin.at \
|
||||||
tests/dumpbin-symbols.at \
|
tests/dumpbin-symbols.at \
|
||||||
tests/deplibs-mingw.at \
|
tests/deplibs-mingw.at \
|
||||||
tests/sysroot.at
|
tests/sysroot.at \
|
||||||
|
tests/stresstest.at \
|
||||||
|
tests/cmdline_wrap.at \
|
||||||
|
$(NOTHING_ELSE)
|
||||||
|
|
||||||
EXTRA_DIST += $(testsuite) $(TESTSUITE_AT) $(package_m4)
|
EXTRA_DIST += $(testsuite) $(TESTSUITE_AT) $(package_m4)
|
||||||
|
|
||||||
|
@ -27,6 +27,9 @@
|
|||||||
|
|
||||||
AT_SETUP([Run tests with low max_cmd_len])
|
AT_SETUP([Run tests with low max_cmd_len])
|
||||||
AT_KEYWORDS([recursive expensive])
|
AT_KEYWORDS([recursive expensive])
|
||||||
|
dnl If we already have failures, then reruns will fail too!
|
||||||
|
fail_list=`for f in ?/fail ??/fail ???/fail ????/fail; do echo $f; end`
|
||||||
|
AT_CHECK([test -z "$fail_list" || (exit 77)])
|
||||||
m4_ifdef([AT_CAPTURE_FILE],
|
m4_ifdef([AT_CAPTURE_FILE],
|
||||||
[AT_CAPTURE_FILE([testsuite.log])])
|
[AT_CAPTURE_FILE([testsuite.log])])
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user