Add partial_tukey and punchout_tukey apodization functions
[flac.git] / test / Makefile.am
bloba6b2ab3fc877b1a429cbe0afc22939fd5d97afbf
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
12 #  distributed.
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
17 #  distribution.
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
23 check_SCRIPTS = \
24         test_libFLAC.sh \
25         test_libFLAC++.sh \
26         test_grabbag.sh \
27         test_flac.sh \
28         test_metaflac.sh \
29         test_replaygain.sh \
30         test_seeking.sh \
31         test_streams.sh \
32         test_compression.sh
34 # This one should pass when building out-of-tree (eg 'make distcheck').
35 check: $(check_SCRIPTS)
36         $(TESTS_ENVIRONMENT) $(srcdir)/test_libFLAC.sh
37 if FLaC__WITH_CPPLIBS
38         $(TESTS_ENVIRONMENT) $(srcdir)/test_libFLAC++.sh
39 endif
40         $(TESTS_ENVIRONMENT) $(srcdir)/test_seeking.sh
41         $(TESTS_ENVIRONMENT) $(srcdir)/test_streams.sh
42         $(TESTS_ENVIRONMENT) $(srcdir)/test_compression.sh
43         @echo "----------------"
44         @echo "All tests passed"
45         @echo "----------------"
47 # This is the full test suite, but only works correctly in-tree.
48 # In particular test_grabbag.sh, test_flac.sh and test_metaflac.sh will not
49 # run correctly out-of-tree.
50 fullcheck: $(check_SCRIPTS)
51         $(TESTS_ENVIRONMENT) ./test_libFLAC.sh
52 if FLaC__WITH_CPPLIBS
53         $(TESTS_ENVIRONMENT) ./test_libFLAC++.sh
54 endif
55         $(TESTS_ENVIRONMENT) ./test_grabbag.sh
56         $(TESTS_ENVIRONMENT) ./test_flac.sh
57         $(TESTS_ENVIRONMENT) ./test_metaflac.sh
58         $(TESTS_ENVIRONMENT) ./test_replaygain.sh
59         $(TESTS_ENVIRONMENT) ./test_seeking.sh
60         $(TESTS_ENVIRONMENT) ./test_streams.sh
61         $(TESTS_ENVIRONMENT) ./test_compression.sh
62         @echo "----------------"
63         @echo "All tests passed"
64         @echo "----------------"
66 EXTRA_DIST = \
67         Makefile.lite \
68         cuesheet.ok \
69         metaflac.flac.in \
70         metaflac.flac.ok \
71         picture.ok \
72         $(check_SCRIPTS) \
73         test_wrapper.sh \
74         test_bins.sh \
75         write_iff.pl
77 clean-local:
78         -rm -f *.raw *.flac *.oga *.ogg *.cmp *.aiff *.wav *.w64 *.rf64 *.diff *.log *.cue core