add cuesheet parser/validator tests
[platform/upstream/flac.git] / test / Makefile.am
1 #  FLAC - Free Lossless Audio Codec
2 #  Copyright (C) 2001,2002  Josh Coalson
3 #
4 #  This program is part of FLAC; you can redistribute it and/or
5 #  modify it under the terms of the GNU General Public License
6 #  as published by the Free Software Foundation; either version 2
7 #  of the License, or (at your option) any later version.
8 #
9 #  This program is distributed in the hope that it will be useful,
10 #  but WITHOUT ANY WARRANTY; without even the implied warranty of
11 #  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12 #  GNU General Public License for more details.
13 #
14 #  You should have received a copy of the GNU General Public License
15 #  along with this program; if not, write to the Free Software
16 #  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
17
18 if FLaC__EXHAUSTIVE_TESTS
19 TESTS_ENVIRONMENT = FLAC__EXHAUSTIVE_TESTS=yes
20 else
21 TESTS_ENVIRONMENT = FLAC__EXHAUSTIVE_TESTS=no
22 endif
23
24 SUBDIRS = cuesheets
25
26 if FLaC__HAS_OGG
27 OGG_TESTS = \
28         ./test_libOggFLAC.sh \
29         ./test_libOggFLAC++.sh
30 endif
31
32 TESTS = \
33         ./test_libFLAC.sh \
34         ./test_libFLAC++.sh \
35         $(OGG_TESTS) \
36         ./test_metaflac.sh \
37         ./test_grabbag.sh \
38         ./test_streams.sh \
39         ./test_bins.sh
40
41 EXTRA_DIST = \
42         Makefile.lite \
43         cuesheet.ok \
44         test_libFLAC.sh \
45         test_libFLAC++.sh \
46         test_libOggFLAC.sh \
47         test_libOggFLAC++.sh \
48         test_metaflac.sh \
49         test_grabbag.sh \
50         test_streams.sh \
51         test_bins.sh
52
53 CLEANFILES = \
54         $(wildcard *.raw) \
55         $(wildcard *.flac) \
56         $(wildcard *.ogg) \
57         $(wildcard *.cmp) \
58         $(wildcard *.wav) \
59         $(wildcard ../../test_files/bins/*.raw) \
60         $(wildcard ../../test_files/bins/*.flac) \
61         $(wildcard ../../test_files/bins/*.cmp) \
62         $(wildcard *.diff)
63         $(wildcard *.log)