Start another cd-paranoia test. This one uses image reading so it

doesn't require a CD-DA loaded.
This commit is contained in:
rocky
2005-01-15 10:17:17 +00:00
parent 9137470a8e
commit a9832ae495
2 changed files with 16 additions and 22 deletions

View File

@@ -1,4 +1,4 @@
# $Id: Makefile.am,v 1.40 2005/01/14 21:40:33 rocky Exp $
# $Id: Makefile.am,v 1.41 2005/01/15 10:17:17 rocky Exp $
#
# Copyright (C) 2003, 2004, 2005 Rocky Bernstein <rocky@panix.com>
#
@@ -49,7 +49,7 @@ testbincue_LDADD = $(LIBCDIO_LIBS)
testbincue_CFLAGS = -DTEST_DIR=\"$(srcdir)\"
check_SCRIPTS = check_nrg.sh check_cue.sh check_cd_read.sh \
check_iso.sh check_opts.sh
check_iso.sh check_paranoia.sh check_opts.sh
# If we beefed this up so it checked to see if a CD-DA was loaded
# it could be an automatic test. But for now, not so.
# check_paranoia.sh

View File

@@ -1,28 +1,22 @@
#!/bin/sh
# $Id: check_paranoia.sh.in,v 1.1 2004/12/19 00:02:09 rocky Exp $
# $Id: check_paranoia.sh.in,v 1.2 2005/01/15 10:17:17 rocky Exp $
# Compare our cd-paranoia with an installed cdparanoia
if test "@OLD_CDPARANOIA@" != no -a -x @OLD_CDPARANOIA@ ; then
if test "@CMP@" != no -a -x @OLD_CDPARANOIA@ ; then
for opt in '' '-r' '-p' '-f' '-a' ; do
frames='"1[:130]-1[:134]"'
../src/cd-paranoia/cd-paranoia $frames cdda-try.wav
@OLD_CDPARANOIA@ $frames cdda-orig.wav
if @CMP@ cdda-try.wav cdda-orig.wav ; then
echo "** New and old paranoia output are identical using option '$opt'"
if test "@CMP@" != no -a "@BUILD_CD_PARANOIA_TRUE@"X = X ; then
../src/cd-paranoia/cd-paranoia -d ./cdda.cue -v -r -- "1-"
dd bs=16 skip=17 if=./cdda.raw of=./cdda-1.raw
dd bs=16 if=./cdda.bin of=cdda-2.raw count=44377
if @CMP@ ./cdda-1.raw ./cdda-2.raw ; then
echo "** Raw cdda.bin extraction okay"
else
echo "** New and old paranoia output differ using option $opt"
echo "** Raw cdda.bin extraction differ"
exit 3
fi
done
exit 0
else
echo "Don't see libcdio cd-paranoia program. Test skipped."
exit 77
fi
else
echo "Don't see non-libcdio cdparanoia program. Test skipped."
exit 77
fi
#;;; Local Variables: ***
#;;; mode:shell-script ***