|
From: | Akim Demaille |
Subject: | Re: [PATCH 11] Fix LAZY_TEST_SUITE handling and $(TEST_SUITE_LOG) recreation. |
Date: | Sat, 14 Mar 2009 14:25:03 +0100 |
Le 14 mars 09 à 13:39, Akim Demaille a écrit :
I often use STRICT_TEST_LOGS = $(shell $(LIST_FAILED_TEST_LOGS))which makes all failing test strict. In other words, successful tests are not rerun by "make check", but failing tests are. This is because our test suite sometimes hits the limit of the machine, and tests timeout for no sound reason. So there is no reason to rerun successful tests, but failing test might pass if the machine has a lesser load.
FWIW, I also noticed that we sometimes had tests that were removed/ renamed that were still marked as XFAILs. So I use this in some of my test suites:
# Check that XFAIL tests do exist. check-test-list-%: @exit=true; \ for f in $($*); do \ if test ! -f $$f && test ! -f $(srcdir)/$$f; then \ echo >&2 "$*: $$f does not exist"; \ exit=false; \ fi; \ done; \ $$exit .PHONY check-TESTS: check-tests check-tests: check-test-list-XFAIL_TESTS check-test-list-TFAIL_TESTS
[Prev in Thread] | Current Thread | [Next in Thread] |