1 # FLAC - Free Lossless Audio Codec
2 # Copyright (C) 2001-2009 Josh Coalson
3 # Copyright (C) 2011-2013 Xiph.Org Foundation
5 # This file is part the FLAC project. FLAC is comprised of several
6 # components distributed under different licenses. The codec libraries
7 # are distributed under Xiph.Org's BSD-like license (see the file
8 # COPYING.Xiph in this distribution). All other programs, libraries, and
9 # plugins are distributed under the GPL (see COPYING.GPL). The documentation
10 # is distributed under the Gnu FDL (see COPYING.FDL). Each file in the
11 # FLAC distribution contains at the top the terms under which it may be
14 # Since this particular file is relevant to all components of FLAC,
15 # it may be distributed under the Xiph.Org license, which is the least
16 # restrictive of those mentioned above. See the file COPYING.Xiph in this
19 TESTS_ENVIRONMENT = FLAC__TEST_LEVEL=@FLAC__TEST_LEVEL@ FLAC__TEST_WITH_VALGRIND=@FLAC__TEST_WITH_VALGRIND@
21 SUBDIRS = cuesheets flac-to-flac-metadata-test-files metaflac-test-files pictures
33 # This one should pass when building out-of-tree (eg 'make distcheck').
34 check: $(check_SCRIPTS)
35 $(TESTS_ENVIRONMENT) $(srcdir)/test_libFLAC.sh
37 $(TESTS_ENVIRONMENT) $(srcdir)/test_libFLAC++.sh
39 $(TESTS_ENVIRONMENT) $(srcdir)/test_seeking.sh
40 $(TESTS_ENVIRONMENT) $(srcdir)/test_streams.sh
41 $(TESTS_ENVIRONMENT) $(srcdir)/test_compression.sh
42 @echo "----------------"
43 @echo "All tests passed"
44 @echo "----------------"
46 # This is the full test suite, but only works correctly in-tree.
47 # In particular test_grabbag.sh, test_flac.sh and test_metaflac.sh will not
48 # run correctly out-of-tree.
49 fullcheck: $(check_SCRIPTS)
50 $(TESTS_ENVIRONMENT) ./test_libFLAC.sh
52 $(TESTS_ENVIRONMENT) ./test_libFLAC++.sh
54 $(TESTS_ENVIRONMENT) ./test_grabbag.sh
55 $(TESTS_ENVIRONMENT) ./test_flac.sh
56 $(TESTS_ENVIRONMENT) ./test_metaflac.sh
57 $(TESTS_ENVIRONMENT) ./test_seeking.sh
58 $(TESTS_ENVIRONMENT) ./test_streams.sh
59 $(TESTS_ENVIRONMENT) ./test_compression.sh
60 @echo "----------------"
61 @echo "All tests passed"
62 @echo "----------------"
76 -rm -f *.raw *.flac *.oga *.ogg *.cmp *.aiff *.wav *.w64 *.rf64 *.diff *.log *.cue core