blob: 987f93047964d83a784e11f878747fe083be988c [file] [log] [blame]
Josh Coalson6b05bc52001-06-08 00:13:21 +00001# FLAC - Free Lossless Audio Codec
Josh Coalson1152f9f2002-01-26 18:05:12 +00002# Copyright (C) 2001,2002 Josh Coalson
Josh Coalson6b05bc52001-06-08 00:13:21 +00003#
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
Josh Coalson9b145182002-08-30 05:39:36 +000018if FLaC__EXHAUSTIVE_TESTS
19TESTS_ENVIRONMENT = FLAC__EXHAUSTIVE_TESTS=yes
20else
21TESTS_ENVIRONMENT = FLAC__EXHAUSTIVE_TESTS=no
22endif
23
Josh Coalson34c1ea82002-12-04 04:57:33 +000024if FLaC__VALGRIND_TESTING
25TESTS_ENVIRONMENT = $(TESTS_ENVIRONMENT) FLAC__VALGRIND=yes
26else
27TESTS_ENVIRONMENT = $(TESTS_ENVIRONMENT) FLAC__VALGRIND=no
28endif
29
Josh Coalsoncb908a62002-11-23 02:21:48 +000030SUBDIRS = cuesheets
31
Josh Coalson1f99eac2002-08-23 06:45:23 +000032if FLaC__HAS_OGG
33OGG_TESTS = \
34 ./test_libOggFLAC.sh \
35 ./test_libOggFLAC++.sh
36endif
37
Josh Coalsona86f8702002-08-20 04:03:24 +000038TESTS = \
39 ./test_libFLAC.sh \
40 ./test_libFLAC++.sh \
Josh Coalson1f99eac2002-08-23 06:45:23 +000041 $(OGG_TESTS) \
Josh Coalsona86f8702002-08-20 04:03:24 +000042 ./test_metaflac.sh \
Josh Coalsoncb908a62002-11-23 02:21:48 +000043 ./test_grabbag.sh \
Josh Coalsona86f8702002-08-20 04:03:24 +000044 ./test_streams.sh \
45 ./test_bins.sh
Josh Coalson9f429ba2001-01-19 22:39:39 +000046
Josh Coalson57ba6f42002-06-07 05:27:37 +000047EXTRA_DIST = \
Josh Coalson1f99eac2002-08-23 06:45:23 +000048 Makefile.lite \
Josh Coalsoncb908a62002-11-23 02:21:48 +000049 cuesheet.ok \
Josh Coalson57ba6f42002-06-07 05:27:37 +000050 test_libFLAC.sh \
51 test_libFLAC++.sh \
Josh Coalsona86f8702002-08-20 04:03:24 +000052 test_libOggFLAC.sh \
53 test_libOggFLAC++.sh \
Josh Coalson273e1682002-06-15 05:12:05 +000054 test_metaflac.sh \
Josh Coalsoncb908a62002-11-23 02:21:48 +000055 test_grabbag.sh \
Josh Coalson4c8f73a2001-07-22 07:27:45 +000056 test_streams.sh \
Josh Coalson273e1682002-06-15 05:12:05 +000057 test_bins.sh
Josh Coalson4c8f73a2001-07-22 07:27:45 +000058
Josh Coalson51e36422001-07-18 23:42:07 +000059CLEANFILES = \
Josh Coalson9b145182002-08-30 05:39:36 +000060 $(wildcard *.raw) \
61 $(wildcard *.flac) \
62 $(wildcard *.ogg) \
63 $(wildcard *.cmp) \
64 $(wildcard *.wav) \
Josh Coalson9e03c442001-06-06 16:38:22 +000065 $(wildcard ../../test_files/bins/*.raw) \
66 $(wildcard ../../test_files/bins/*.flac) \
67 $(wildcard ../../test_files/bins/*.cmp) \
Josh Coalson3c75a392002-11-27 04:46:14 +000068 $(wildcard *.diff) \
69 $(wildcard *.log) \
70 $(wildcard *.cue) \
71 core