Start another cd-paranoia test. This one uses image reading so it
doesn't require a CD-DA loaded.
This commit is contained in:
@@ -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>
|
# Copyright (C) 2003, 2004, 2005 Rocky Bernstein <rocky@panix.com>
|
||||||
#
|
#
|
||||||
@@ -49,7 +49,7 @@ testbincue_LDADD = $(LIBCDIO_LIBS)
|
|||||||
testbincue_CFLAGS = -DTEST_DIR=\"$(srcdir)\"
|
testbincue_CFLAGS = -DTEST_DIR=\"$(srcdir)\"
|
||||||
|
|
||||||
check_SCRIPTS = check_nrg.sh check_cue.sh check_cd_read.sh \
|
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
|
# 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.
|
# it could be an automatic test. But for now, not so.
|
||||||
# check_paranoia.sh
|
# check_paranoia.sh
|
||||||
|
|||||||
@@ -1,28 +1,22 @@
|
|||||||
#!/bin/sh
|
#!/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
|
# Compare our cd-paranoia with an installed cdparanoia
|
||||||
|
|
||||||
if test "@OLD_CDPARANOIA@" != no -a -x @OLD_CDPARANOIA@ ; then
|
if test "@CMP@" != no -a "@BUILD_CD_PARANOIA_TRUE@"X = X ; then
|
||||||
if test "@CMP@" != no -a -x @OLD_CDPARANOIA@ ; then
|
../src/cd-paranoia/cd-paranoia -d ./cdda.cue -v -r -- "1-"
|
||||||
for opt in '' '-r' '-p' '-f' '-a' ; do
|
dd bs=16 skip=17 if=./cdda.raw of=./cdda-1.raw
|
||||||
frames='"1[:130]-1[:134]"'
|
dd bs=16 if=./cdda.bin of=cdda-2.raw count=44377
|
||||||
../src/cd-paranoia/cd-paranoia $frames cdda-try.wav
|
if @CMP@ ./cdda-1.raw ./cdda-2.raw ; then
|
||||||
@OLD_CDPARANOIA@ $frames cdda-orig.wav
|
echo "** Raw cdda.bin extraction okay"
|
||||||
if @CMP@ cdda-try.wav cdda-orig.wav ; then
|
|
||||||
echo "** New and old paranoia output are identical using option '$opt'"
|
|
||||||
else
|
else
|
||||||
echo "** New and old paranoia output differ using option $opt"
|
echo "** Raw cdda.bin extraction differ"
|
||||||
exit 3
|
exit 3
|
||||||
fi
|
fi
|
||||||
done
|
|
||||||
exit 0
|
exit 0
|
||||||
else
|
else
|
||||||
echo "Don't see libcdio cd-paranoia program. Test skipped."
|
echo "Don't see libcdio cd-paranoia program. Test skipped."
|
||||||
exit 77
|
exit 77
|
||||||
fi
|
fi
|
||||||
else
|
|
||||||
echo "Don't see non-libcdio cdparanoia program. Test skipped."
|
|
||||||
exit 77
|
|
||||||
fi
|
fi
|
||||||
#;;; Local Variables: ***
|
#;;; Local Variables: ***
|
||||||
#;;; mode:shell-script ***
|
#;;; mode:shell-script ***
|
||||||
|
|||||||
Reference in New Issue
Block a user