Merge git://github.com/avuton/flac
[platform/upstream/flac.git] / test / Makefile.am
1 #  FLAC - Free Lossless Audio Codec
2 #  Copyright (C) 2001,2002,2003,2004,2005,2006,2007,2008,2009  Josh Coalson
3 #
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
11 #  distributed.
12 #
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
16 #  distribution.
17
18 if FLaC__WITH_CPPLIBS
19 CPPLIBS_TESTS = test_libFLAC++.sh
20 endif
21
22 TESTS_ENVIRONMENT = FLAC__TEST_LEVEL=@FLAC__TEST_LEVEL@ FLAC__TEST_WITH_VALRGIND=@FLAC__TEST_WITH_VALGRIND@
23
24 SUBDIRS = cuesheets flac-to-flac-metadata-test-files metaflac-test-files pictures
25
26 check_SCRIPTS = \
27         ./test_libFLAC.sh \
28         $(CPPLIBS_TESTS) \
29         ./test_grabbag.sh \
30         ./test_flac.sh \
31         ./test_metaflac.sh \
32         ./test_seeking.sh \
33         ./test_streams.sh
34
35 check: $(check_SCRIPTS)
36         ./test_wrapper.sh
37
38 fastcheck: $(check_SCRIPTS)
39         ./test_libFLAC.sh
40         ./test_grabbag.sh
41
42 EXTRA_DIST = \
43         Makefile.lite \
44         cuesheet.ok \
45         metaflac.flac.in \
46         metaflac.flac.ok \
47         picture.ok \
48         test_libFLAC.sh \
49         $(CPPLIBS_TESTS) \
50         test_flac.sh \
51         test_metaflac.sh \
52         test_grabbag.sh \
53         test_seeking.sh \
54         test_streams.sh \
55         test_wrapper.sh \
56         test_bins.sh \
57         write_iff.pl
58
59 clean-local:
60         -rm -f *.raw *.flac *.oga *.ogg *.cmp *.aiff *.wav *.w64 *.rf64 *.diff *.log *.cue core