fix tests/ harness for automake 1.13
See http://osdir.com/ml/bug-automake-gnu/2013-06/msg00010.html
This commit is contained in:
parent
8c9484a738
commit
8401f038e6
|
@ -589,6 +589,7 @@ ac_subst_vars='am__EXEEXT_FALSE
|
|||
am__EXEEXT_TRUE
|
||||
LTLIBOBJS
|
||||
LIBOBJS
|
||||
auto_find_tests
|
||||
DEPS_LIBS
|
||||
DEPS_CFLAGS
|
||||
PKG_CONFIG_LIBDIR
|
||||
|
@ -3722,6 +3723,9 @@ fi
|
|||
|
||||
|
||||
|
||||
auto_find_tests='$(sort $(wildcard *.test))'
|
||||
|
||||
|
||||
# Checks for header files.
|
||||
# AC_CHECK_HEADERS([stdlib.h string.h unistd.h])
|
||||
|
||||
|
|
|
@ -99,6 +99,8 @@ PKG_CHECK_MODULES(DEPS, [ $deps_packages ])
|
|||
AC_SUBST(DEPS_CFLAGS)
|
||||
AC_SUBST(DEPS_LIBS)
|
||||
|
||||
AC_SUBST([auto_find_tests], ['$(sort $(wildcard *.test))'])
|
||||
|
||||
# Checks for header files.
|
||||
# AC_CHECK_HEADERS([stdlib.h string.h unistd.h])
|
||||
|
||||
|
|
|
@ -0,0 +1,2 @@
|
|||
#!/bin/bash
|
||||
exec ./30-amplitude.test --float
|
|
@ -0,0 +1 @@
|
|||
exec ./40-noise.test 1200 -M 1200 -S 2400
|
|
@ -0,0 +1,2 @@
|
|||
#!/bin/bash
|
||||
exec ./70-callerid-mdmf.test testdata-callerid-sdmf.bytes
|
|
@ -20,8 +20,8 @@
|
|||
EXTRA_DIST = \
|
||||
run-self-tests \
|
||||
self-test \
|
||||
test-* \
|
||||
*.test \
|
||||
testdata-*
|
||||
|
||||
TESTS = test-*
|
||||
TESTS = @auto_find_tests@
|
||||
|
||||
|
|
|
@ -178,10 +178,10 @@ top_srcdir = @top_srcdir@
|
|||
EXTRA_DIST = \
|
||||
run-self-tests \
|
||||
self-test \
|
||||
test-* \
|
||||
*.test \
|
||||
testdata-*
|
||||
|
||||
TESTS = test-*
|
||||
TESTS = @auto_find_tests@
|
||||
all: all-am
|
||||
|
||||
.SUFFIXES:
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
|
||||
for testcase in ./test-*
|
||||
for testcase in ./*.test
|
||||
do
|
||||
$testcase
|
||||
if [ $? -eq 0 ]
|
||||
|
|
|
@ -1,2 +0,0 @@
|
|||
#!/bin/bash
|
||||
exec ./test-30-amplitude --float
|
|
@ -1 +0,0 @@
|
|||
exec ./test-40-noise 1200 -M 1200 -S 2400
|
|
@ -1,2 +0,0 @@
|
|||
#!/bin/bash
|
||||
exec ./test-70-callerid-mdmf testdata-callerid-sdmf.bytes
|
Loading…
Reference in New Issue