ref: 5e0e521494ba5c31589875497a1daa868ae19c92
parent: 64b5fafba08091064c1df2fcf1ec176a018b1474
author: cbagwell <cbagwell>
date: Wed Sep 1 22:34:24 EDT 2004
Get test scripts working with new directorys.
--- a/configure
+++ b/configure
@@ -7984,10 +7984,10 @@
EOF
-if test ! -f tests.sh; then cp ${srcdir}/tests.sh tests.sh; fi
-if test ! -f testall.sh; then cp ${srcdir}/testall.sh testall.sh; fi
-if test ! -f monkey.au; then cp ${srcdir}/monkey.au monkey.au; fi
-if test ! -f monkey.voc; then cp ${srcdir}/monkey.voc monkey.voc; fi
+if test ! -f src/tests.sh; then cp ${srcdir}/src/tests.sh src/tests.sh; fi
+if test ! -f src/testall.sh; then cp ${srcdir}/src/testall.sh src/testall.sh; fi
+if test ! -f src/monkey.au; then cp ${srcdir}/src/monkey.au src/monkey.au; fi
+if test ! -f src/monkey.wav; then cp ${srcdir}/src/monkey.wav src/monkey.wav; fi
echo
echo "Old Rate enabled.................. $enable_old_rate"
--- a/configure.in
+++ b/configure.in
@@ -281,10 +281,10 @@
AC_CREATE_STDINT_H(src/ststdint.h)
-if test ! -f tests.sh; then cp ${srcdir}/tests.sh tests.sh; fi
-if test ! -f testall.sh; then cp ${srcdir}/testall.sh testall.sh; fi
-if test ! -f monkey.au; then cp ${srcdir}/monkey.au monkey.au; fi
-if test ! -f monkey.voc; then cp ${srcdir}/monkey.voc monkey.voc; fi
+if test ! -f src/tests.sh; then cp ${srcdir}/src/tests.sh src/tests.sh; fi
+if test ! -f src/testall.sh; then cp ${srcdir}/src/testall.sh src/testall.sh; fi
+if test ! -f src/monkey.au; then cp ${srcdir}/src/monkey.au src/monkey.au; fi
+if test ! -f src/monkey.wav; then cp ${srcdir}/src/monkey.wav src/monkey.wav; fi
echo
echo "Old Rate enabled.................. $enable_old_rate"
binary files a/monkey.au /dev/null differ
binary files a/monkey.voc /dev/null differ
binary files /dev/null b/src/monkey.au differ
binary files /dev/null b/src/monkey.wav differ
--- a/src/sox.c
+++ b/src/sox.c
@@ -686,6 +686,7 @@
do {
#ifndef SOXMIX
+ /* FIXME: Need to look at retur code and abort on failure */
efftab[0].olen = (*informat[0]->h->read)(informat[0],
efftab[0].obuf,
(st_ssize_t)ST_BUFSIZ);
@@ -773,6 +774,7 @@
if (drain_effect(f) == 0)
break; /* out of while (1) */
+ /* FIXME: Need to look at return code and abort on failure */
if (writing&&efftab[neffects-1].olen > 0)
(* outformat->h->write)(outformat, efftab[neffects-1].obuf,
(st_ssize_t) efftab[neffects-1].olen);
--- a/src/testall.sh
+++ b/src/testall.sh
@@ -5,13 +5,13 @@
opts="$*"
echo "Format: $format Options: $opts"
- /usr/local/valgrind/bin/valgrind --tool=memcheck ./sox monkey.voc $opts /tmp/monkey.$format $effect
- /usr/local/valgrind/bin/valgrind --tool=memcheck ./sox $opts /tmp/monkey.$format /tmp/monkey1.voc $effect
+ ./sox monkey.wav $opts /tmp/monkey.$format $effect
+ ./sox $opts /tmp/monkey.$format /tmp/monkey1.wav $effect
}
t 8svx
t aiff
t au
-t avr
+t avr -u
t cdr
t cvs
t dat