1# FLAC - Free Lossless Audio Codec 2# Copyright (C) 2001-2009 Josh Coalson 3# Copyright (C) 2011-2016 Xiph.Org Foundation 4# 5# This file is part the FLAC project. FLAC is comprised of several 6# components distributed under different licenses. The codec libraries 7# are distributed under Xiph.Org's BSD-like license (see the file 8# COPYING.Xiph in this distribution). All other programs, libraries, and 9# plugins are distributed under the GPL (see COPYING.GPL). The documentation 10# is distributed under the Gnu FDL (see COPYING.FDL). Each file in the 11# FLAC distribution contains at the top the terms under which it may be 12# distributed. 13# 14# Since this particular file is relevant to all components of FLAC, 15# it may be distributed under the Xiph.Org license, which is the least 16# restrictive of those mentioned above. See the file COPYING.Xiph in this 17# distribution. 18 19TESTS_ENVIRONMENT = FLAC__TEST_LEVEL=@FLAC__TEST_LEVEL@ FLAC__TEST_WITH_VALGRIND=@FLAC__TEST_WITH_VALGRIND@ ECHO_N="@ECHO_N@" ECHO_C="@ECHO_C@" 20 21SUBDIRS = cuesheets flac-to-flac-metadata-test-files metaflac-test-files pictures 22 23check_SCRIPTS = \ 24 test_libFLAC.sh \ 25 test_libFLAC++.sh \ 26 test_grabbag.sh \ 27 test_flac.sh \ 28 test_metaflac.sh \ 29 test_replaygain.sh \ 30 test_seeking.sh \ 31 test_streams.sh \ 32 test_compression.sh 33 34# This one should pass when building out-of-tree (e.g. 'make distcheck'). 35check: $(check_SCRIPTS) 36 $(TESTS_ENVIRONMENT) $(srcdir)/test_libFLAC.sh 37if FLaC__WITH_CPPLIBS 38 $(TESTS_ENVIRONMENT) $(srcdir)/test_libFLAC++.sh 39endif 40 $(TESTS_ENVIRONMENT) $(srcdir)/test_grabbag.sh 41 $(TESTS_ENVIRONMENT) $(srcdir)/test_flac.sh 42 $(TESTS_ENVIRONMENT) $(srcdir)/test_metaflac.sh 43 $(TESTS_ENVIRONMENT) $(srcdir)/test_replaygain.sh 44 $(TESTS_ENVIRONMENT) $(srcdir)/test_seeking.sh 45 $(TESTS_ENVIRONMENT) $(srcdir)/test_streams.sh 46 $(TESTS_ENVIRONMENT) $(srcdir)/test_compression.sh 47 @echo "----------------" 48 @echo "All tests passed" 49 @echo "----------------" 50 51EXTRA_DIST = \ 52 CMakeLists.txt \ 53 Makefile.lite \ 54 cuesheet.ok \ 55 metaflac.flac.in \ 56 metaflac.flac.ok \ 57 picture.ok \ 58 $(check_SCRIPTS) \ 59 write_iff.pl 60 61clean-local: 62 -rm -f *.raw *.flac *.oga *.ogg *.cmp *.aiff *.wav *.w64 *.rf64 *.diff *.log *.cue core 63