Commit 7b0d8f10 authored by Erik de Castro Lopo's avatar Erik de Castro Lopo
Browse files

Run all tests from one script which bails on the first failure.

parent f3d4fb27
...@@ -39,6 +39,11 @@ src/test_seeking/test_seeking ...@@ -39,6 +39,11 @@ src/test_seeking/test_seeking
src/test_streams/test_streams src/test_streams/test_streams
stamp-h1 stamp-h1
test/*.aiff test/*.aiff
test/*.cmp
test/*.cue
test/*.flac
test/*.log
test/*.oga
test/*.raw test/*.raw
test/*.rf64 test/*.rf64
test/*.w64 test/*.w64
......
...@@ -23,7 +23,7 @@ TESTS_ENVIRONMENT = FLAC__TEST_LEVEL=@FLAC__TEST_LEVEL@ FLAC__TEST_WITH_VALRGIND ...@@ -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 SUBDIRS = cuesheets flac-to-flac-metadata-test-files metaflac-test-files pictures
TESTS = \ check_SCRIPTS = \
./test_libFLAC.sh \ ./test_libFLAC.sh \
$(CPPLIBS_TESTS) \ $(CPPLIBS_TESTS) \
./test_grabbag.sh \ ./test_grabbag.sh \
...@@ -32,6 +32,9 @@ TESTS = \ ...@@ -32,6 +32,9 @@ TESTS = \
./test_seeking.sh \ ./test_seeking.sh \
./test_streams.sh ./test_streams.sh
check: $(check_SCRIPTS)
./test_wrapper.sh
EXTRA_DIST = \ EXTRA_DIST = \
Makefile.lite \ Makefile.lite \
cuesheet.ok \ cuesheet.ok \
......
#!/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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment