fix tests/ harness for automake 1.13

See http://osdir.com/ml/bug-automake-gnu/2013-06/msg00010.html
This commit is contained in:
Kamal Mostafa 2014-11-09 10:34:00 -08:00
parent 8c9484a738
commit 8401f038e6
33 changed files with 16 additions and 10 deletions

4
configure vendored
View File

@ -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])

View File

@ -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])

2
tests/31-amplitude-float.test Executable file
View File

@ -0,0 +1,2 @@
#!/bin/bash
exec ./30-amplitude.test --float

1
tests/41-noise-purefreqs.test Executable file
View File

@ -0,0 +1 @@
exec ./40-noise.test 1200 -M 1200 -S 2400

2
tests/71-callerid-sdmf.test Executable file
View File

@ -0,0 +1,2 @@
#!/bin/bash
exec ./70-callerid-mdmf.test testdata-callerid-sdmf.bytes

View File

@ -20,8 +20,8 @@
EXTRA_DIST = \
run-self-tests \
self-test \
test-* \
*.test \
testdata-*
TESTS = test-*
TESTS = @auto_find_tests@

View File

@ -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:

View File

@ -1,6 +1,6 @@
#!/bin/bash
for testcase in ./test-*
for testcase in ./*.test
do
$testcase
if [ $? -eq 0 ]

View File

@ -1,2 +0,0 @@
#!/bin/bash
exec ./test-30-amplitude --float

View File

@ -1 +0,0 @@
exec ./test-40-noise 1200 -M 1200 -S 2400

View File

@ -1,2 +0,0 @@
#!/bin/bash
exec ./test-70-callerid-mdmf testdata-callerid-sdmf.bytes