diff options
Diffstat (limited to 'common/check.mak')
-rw-r--r-- | common/check.mak | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/common/check.mak b/common/check.mak index 30487f1..0aec843 100644 --- a/common/check.mak +++ b/common/check.mak @@ -24,6 +24,12 @@ LOOPS = 10 CK_DEFAULT_TIMEOUT=20 \ $* +# just like 'check', but don't run it again if it fails (useful for debugging) +%.check-norepeat: % + @$(TESTS_ENVIRONMENT) \ + CK_DEFAULT_TIMEOUT=20 \ + $* + # run any given test in a loop %.torture: % @for i in `seq 1 $(LOOPS)`; do \ @@ -140,7 +146,7 @@ valgrind.gen-suppressions: $(TESTS) fi # inspect every plugin feature -GST_INSPECT = $(GST_TOOLS_DIR)/gst-inspect-$(GST_MAJORMINOR) +GST_INSPECT = $(GST_TOOLS_DIR)/gst-inspect-$(GST_API_VERSION) inspect: @echo "Inspecting features ..." @for e in `$(TESTS_ENVIRONMENT) $(GST_INSPECT) | head -n -2 \ @@ -152,7 +158,8 @@ help: @echo @echo "make check -- run all checks" @echo "make torture -- run all checks $(LOOPS) times" - @echo "make (dir)/(test).check -- run the given check once" + @echo "make (dir)/(test).check -- run the given check once, repeat with GST_DEBUG=*:2 if it fails" + @echo "make (dir)/(test).check-norepeat -- run the given check once, but don't run it again if it fails" @echo "make (dir)/(test).forever -- run the given check forever" @echo "make (dir)/(test).torture -- run the given check $(LOOPS) times" @echo |