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