Add regression-test mechanism. Right now we only have underrun testing.

Perhaps more later...
cd-paranoia: -x option added to specify what to test.
This commit is contained in:
rocky
2005-01-15 16:05:44 +00:00
parent a1e6e4f5d2
commit aa50f5e09a
7 changed files with 70 additions and 87 deletions

View File

@@ -1,5 +1,5 @@
/*
$Id: interface.c,v 1.12 2005/01/14 04:09:30 rocky Exp $
$Id: interface.c,v 1.13 2005/01/15 16:05:44 rocky Exp $
Copyright (C) 2005 Rocky Bernstein <rocky@panix.com>
Copyright (C) 1998 Monty xiphmont@mit.edu
@@ -76,12 +76,6 @@ cdda_open(cdrom_drive_t *d)
if((ret=cooked_init_drive(d)))
return(ret);
break;
#ifdef CDDA_TEST
case TEST_INTERFACE:
if((ret=test_init_drive(d)))
return(ret);
break;
#endif
default:
cderror(d, "100: Interface not supported\n");
return(-100);