diff options
author | Erik de Castro Lopo <erikd@mega-nerd.com> | 2012-01-31 21:06:21 +1100 |
---|---|---|
committer | Erik de Castro Lopo <erikd@mega-nerd.com> | 2012-01-31 21:06:21 +1100 |
commit | 7b0d8f1027d743ddd04326b6b6996ba1f4157dd1 (patch) | |
tree | 2ef91253e94147e2491cde5c1927676031bad568 | |
parent | f3d4fb27e10365e43f710d6ddb1223d74757f8da (diff) | |
download | flac-7b0d8f1027d743ddd04326b6b6996ba1f4157dd1.tar.gz |
Run all tests from one script which bails on the first failure.
-rw-r--r-- | .gitignore | 5 | ||||
-rw-r--r-- | test/Makefile.am | 5 | ||||
-rwxr-xr-x | test/test_wrapper.sh | 11 |
3 files changed, 20 insertions, 1 deletions
@@ -39,6 +39,11 @@ src/test_seeking/test_seeking src/test_streams/test_streams stamp-h1 test/*.aiff +test/*.cmp +test/*.cue +test/*.flac +test/*.log +test/*.oga test/*.raw test/*.rf64 test/*.w64 diff --git a/test/Makefile.am b/test/Makefile.am index 8e18e721..1a8d8cbc 100644 --- a/test/Makefile.am +++ b/test/Makefile.am @@ -23,7 +23,7 @@ TESTS_ENVIRONMENT = FLAC__TEST_LEVEL=@FLAC__TEST_LEVEL@ FLAC__TEST_WITH_VALRGIND SUBDIRS = cuesheets flac-to-flac-metadata-test-files metaflac-test-files pictures -TESTS = \ +check_SCRIPTS = \ ./test_libFLAC.sh \ $(CPPLIBS_TESTS) \ ./test_grabbag.sh \ @@ -32,6 +32,9 @@ TESTS = \ ./test_seeking.sh \ ./test_streams.sh +check: $(check_SCRIPTS) + ./test_wrapper.sh + EXTRA_DIST = \ Makefile.lite \ cuesheet.ok \ diff --git a/test/test_wrapper.sh b/test/test_wrapper.sh new file mode 100755 index 00000000..3832a922 --- /dev/null +++ b/test/test_wrapper.sh @@ -0,0 +1,11 @@ +#!/bin/sh -e + +# This test script should exit on the first failure. + +./test_libFLAC.sh +./test_libFLAC++.sh +./test_grabbag.sh +./test_flac.sh +./test_metaflac.sh +./test_seeking.sh +./test_streams.sh |