summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Vander Stichele <thomas@apestaart.org>2005-11-28 14:17:11 +0000
committerThomas Vander Stichele <thomas@apestaart.org>2005-11-28 14:17:11 +0000
commitb0b08bcd66ca385364b6f90663585b09693aec67 (patch)
treed769fe60f5d40d53a919dc0c1231f42932f9fcbd
parentc04ad83a0c184fcd311de39371570b9e773a60d0 (diff)
check.mak: when a "make test.check" run fails, make it rerun the test with at least debug level 2
Original commit message from CVS: * check.mak: when a "make test.check" run fails, make it rerun the test with at least debug level 2
-rw-r--r--ChangeLog6
-rw-r--r--check.mak5
2 files changed, 11 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index cf1fded..8979910 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
+
+ * check.mak:
+ when a "make test.check" run fails, make it rerun the test with
+ at least debug level 2
+
2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
* m4/Makefile.am:
diff --git a/check.mak b/check.mak
index 3e543f4..74bd5c3 100644
--- a/check.mak
+++ b/check.mak
@@ -15,9 +15,14 @@ endif
LOOPS = 10
# run any given test by running make test.check
+# if the test fails, run it again at at least debug level 2
%.check: %
@$(TESTS_ENVIRONMENT) \
CK_DEFAULT_TIMEOUT=20 \
+ $* || \
+ $(TESTS_ENVIRONMENT) \
+ GST_DEBUG=$$GST_DEBUG,*:2 \
+ CK_DEFAULT_TIMEOUT=20 \
$*
# run any given test in a loop