Move driver tests into a separate directory.
This commit is contained in:
@@ -660,6 +660,7 @@ AC_CONFIG_FILES([
|
||||
src/cd-paranoia/doc/ja/cd-paranoia.1 \
|
||||
src/cd-paranoia/doc/ja/Makefile \
|
||||
src/Makefile \
|
||||
test/driver/Makefile \
|
||||
test/testbincue.c \
|
||||
test/testgetdevices.c \
|
||||
test/testisocd2.c \
|
||||
|
||||
@@ -11,9 +11,10 @@
|
||||
#define CDIO_VERSION "@VERSION@ @build@"
|
||||
extern const char *cdio_version_string; /**< = CDIO_VERSION */
|
||||
|
||||
/*! LIBCDIO_VERSION_NUM can be used for testing in the C preprocessor,
|
||||
libcdio_version_num has the same value, but it is a constant variable
|
||||
that can be accessed at run time. */
|
||||
/*! LIBCDIO_VERSION_NUM is a C-Preprocessor macro that can be used for
|
||||
testing in the C preprocessor. libcdio_version_num has the same
|
||||
value, but it is a constant variable that can be accessed at run
|
||||
time. */
|
||||
#define LIBCDIO_VERSION_NUM @LIBCDIO_VERSION_NUM@
|
||||
|
||||
extern const unsigned int libcdio_version_num; /**< = LIBCDIO_VERSION_NUM */
|
||||
|
||||
@@ -21,14 +21,16 @@
|
||||
# There's a problem with doing make distcheck for testdefault.
|
||||
# A reminder of why I hate automake.
|
||||
|
||||
SUBDIRS = driver
|
||||
|
||||
if BUILD_CD_PARANOIA
|
||||
testparanoia=testparanoia
|
||||
testparanoia_LDADD = $(LIBCDIO_PARANOIA_LIBS) $(LIBCDIO_CDDA_LIBS) $(LIBCDIO_LIBS) $(LTLIBICONV)
|
||||
endif
|
||||
|
||||
hack = check_sizeof testassert testbincue testgetdevices testischar \
|
||||
testisocd testisocd2 testiso9660 testlinux test_lib_driver_util \
|
||||
testnrg $(testparanoia) testtoc testpregap testsolaris
|
||||
testisocd testisocd2 testiso9660 test_lib_driver_util \
|
||||
testnrg $(testparanoia) testtoc testpregap
|
||||
|
||||
EXTRA_PROGRAMS = testdefault
|
||||
|
||||
@@ -50,12 +52,6 @@ testtoc_CFLAGS = -DTEST_DIR=\"$(srcdir)\"
|
||||
test_lib_driver_util_LDADD = $(LIBCDIO_LIBS) $(LTLIBICONV)
|
||||
tets_lib_driver_util_CFLAGS = -DTEST_DIR=\"$(srcdir)\"
|
||||
|
||||
testlinux_LDADD = $(LIBCDIO_LIBS) $(LTLIBICONV)
|
||||
testlinux_CFLAGS = -DTEST_DIR=\"$(srcdir)\"
|
||||
|
||||
testsolaris_LDADD = $(LIBCDIO_LIBS) $(LTLIBICONV)
|
||||
testsolaris_CFLAGS = -DTEST_DIR=\"$(srcdir)\"
|
||||
|
||||
testpregap_LDADD = $(LIBCDIO_LIBS) $(LTLIBICONV)
|
||||
testpregap_CFLAGS = -DTEST_DIR=\"$(srcdir)\"
|
||||
|
||||
|
||||
1
test/driver/.gitignore
vendored
Normal file
1
test/driver/.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
/*~
|
||||
31
test/driver/Makefile.am
Normal file
31
test/driver/Makefile.am
Normal file
@@ -0,0 +1,31 @@
|
||||
# Copyright (C) 2009 Rocky Bernstein <rocky@gnu.org>
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 3 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
INCLUDES = -I$(top_srcdir) $(LIBCDIO_CFLAGS) $(LIBISO9660_CFLAGS)
|
||||
|
||||
gnu_linux_LDADD = $(LIBCDIO_LIBS) $(LTLIBICONV)
|
||||
gnu_linux_CFLAGS = -DTEST_DIR=\"$(srcdir)\"
|
||||
|
||||
solaris_LDADD = $(LIBCDIO_LIBS) $(LTLIBICONV)
|
||||
solaris_CFLAGS = -DTEST_DIR=\"$(srcdir)\"
|
||||
|
||||
check_PROGRAMS = gnu_linux solaris
|
||||
|
||||
TESTS = $(check_PROGRAMS)
|
||||
|
||||
MOSTLYCLEANFILES = core core.* *.dump cdda-orig.wav cdda-try.wav *.raw
|
||||
|
||||
test: check-am
|
||||
|
||||
Reference in New Issue
Block a user