add FLAC__EXHAUSTIVE_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 if FLaC__HAS_OGG
25 OGG_TESTS = \
26         ./test_libOggFLAC.sh \
27         ./test_libOggFLAC++.sh
28 endif
29
30 TESTS = \
31         ./test_libFLAC.sh \
32         ./test_libFLAC++.sh \
33         $(OGG_TESTS) \
34         ./test_metaflac.sh \
35         ./test_streams.sh \
36         ./test_bins.sh
37
38 EXTRA_DIST = \
39         Makefile.lite \
40         test_libFLAC.sh \
41         test_libFLAC++.sh \
42         test_libOggFLAC.sh \
43         test_libOggFLAC++.sh \
44         test_metaflac.sh \
45         test_streams.sh \
46         test_bins.sh
47
48 CLEANFILES = \
49         $(wildcard *.raw) \
50         $(wildcard *.flac) \
51         $(wildcard *.ogg) \
52         $(wildcard *.cmp) \
53         $(wildcard *.wav) \
54         $(wildcard ../../test_files/bins/*.raw) \
55         $(wildcard ../../test_files/bins/*.flac) \
56         $(wildcard ../../test_files/bins/*.cmp) \
57         $(wildcard *.log)