projects
/
platform
/
upstream
/
flac.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use new function flac_snprintf() where ever appropriate.
[platform/upstream/flac.git]
/
test
/
Makefile.am
diff --git
a/test/Makefile.am
b/test/Makefile.am
index
8b68139
..
9bc3b1e
100644
(file)
--- a/
test/Makefile.am
+++ b/
test/Makefile.am
@@
-1,5
+1,5
@@
# FLAC - Free Lossless Audio Codec
# FLAC - Free Lossless Audio Codec
-# Copyright (C) 2001,2002,2003,2004,2005,2006 Josh Coalson
+# Copyright (C) 2001,2002,2003,2004,2005,2006
,2007,2008,2009
Josh Coalson
#
# This file is part the FLAC project. FLAC is comprised of several
# components distributed under difference licenses. The codec libraries
#
# This file is part the FLAC project. FLAC is comprised of several
# components distributed under difference licenses. The codec libraries
@@
-19,46
+19,57
@@
TESTS_ENVIRONMENT = FLAC__TEST_LEVEL=@FLAC__TEST_LEVEL@ FLAC__TEST_WITH_VALRGIND
SUBDIRS = cuesheets flac-to-flac-metadata-test-files metaflac-test-files pictures
SUBDIRS = cuesheets flac-to-flac-metadata-test-files metaflac-test-files pictures
-if FLaC__HAS_OGG
-OGG_TESTS = \
- ./test_libOggFLAC.sh \
- ./test_libOggFLAC++.sh
+check_SCRIPTS = \
+ test_libFLAC.sh \
+ test_libFLAC++.sh \
+ test_grabbag.sh \
+ test_flac.sh \
+ test_metaflac.sh \
+ test_seeking.sh \
+ test_streams.sh \
+ test_compression.sh
+
+# This one should pass when building out-of-tree (eg 'make distcheck').
+check: $(check_SCRIPTS)
+ $(srcdir)/test_libFLAC.sh
+if FLaC__WITH_CPPLIBS
+ $(srcdir)/test_libFLAC++.sh
endif
endif
+ $(srcdir)/test_seeking.sh
+ $(srcdir)/test_streams.sh
+ $(srcdir)/test_compression.sh
+ @echo "----------------"
+ @echo "All tests passed"
+ @echo "----------------"
-TESTS = \
- ./test_libFLAC.sh \
- ./test_libFLAC++.sh \
- $(OGG_TESTS) \
- ./test_flac.sh \
- ./test_metaflac.sh \
- ./test_grabbag.sh \
- ./test_seeking.sh \
+# This is the full test suite, but only works correctly in-tree.
+# In particular test_grabbag.sh, test_flac.sh and test_metaflac.sh will not
+# run correctly out-of-tree.
+fullcheck: $(check_SCRIPTS)
+ ./test_libFLAC.sh
+if FLaC__WITH_CPPLIBS
+ ./test_libFLAC++.sh
+endif
+ ./test_grabbag.sh
+ ./test_flac.sh
+ ./test_metaflac.sh
+ ./test_seeking.sh
./test_streams.sh
./test_streams.sh
+ ./test_compression.sh
+ @echo "----------------"
+ @echo "All tests passed"
+ @echo "----------------"
EXTRA_DIST = \
Makefile.lite \
cuesheet.ok \
metaflac.flac.in \
metaflac.flac.ok \
EXTRA_DIST = \
Makefile.lite \
cuesheet.ok \
metaflac.flac.in \
metaflac.flac.ok \
- test_libFLAC.sh \
- test_libFLAC++.sh \
- test_libOggFLAC.sh \
- test_libOggFLAC++.sh \
- test_flac.sh \
- test_metaflac.sh \
- test_grabbag.sh \
- test_seeking.sh \
- test_streams.sh \
- test_bins.sh
+ picture.ok \
+ $(check_SCRIPTS) \
+ test_wrapper.sh \
+ test_bins.sh \
+ write_iff.pl
-CLEANFILES = \
- $(wildcard *.raw) \
- $(wildcard *.flac) \
- $(wildcard *.ogg) \
- $(wildcard *.cmp) \
- $(wildcard *.aiff) \
- $(wildcard *.wav) \
- $(wildcard *.diff) \
- $(wildcard *.log) \
- $(wildcard *.cue) \
- core
+clean-local:
+ -rm -f *.raw *.flac *.oga *.ogg *.cmp *.aiff *.wav *.w64 *.rf64 *.diff *.log *.cue core