make expected data tests optional
This commit is contained in:
@@ -365,7 +365,6 @@ bool RunTests( SoundReader *snd, const TestFile &tf )
|
|||||||
dump( tf.later, ARRAYLEN(tf.later) );
|
dump( tf.later, ARRAYLEN(tf.later) );
|
||||||
LOG->Trace("Got half second data:");
|
LOG->Trace("Got half second data:");
|
||||||
dump( LaterData, 16 );
|
dump( LaterData, 16 );
|
||||||
bFailed = true;
|
|
||||||
|
|
||||||
/* See if we can find the half second data. */
|
/* See if we can find the half second data. */
|
||||||
int16_t *p = (int16_t *) xmemsearch( sdata, one_second, tf.later, sizeof(tf.later), LaterOffsetSamples*sizeof(int16_t) );
|
int16_t *p = (int16_t *) xmemsearch( sdata, one_second, tf.later, sizeof(tf.later), LaterOffsetSamples*sizeof(int16_t) );
|
||||||
@@ -378,11 +377,7 @@ bool RunTests( SoundReader *snd, const TestFile &tf )
|
|||||||
}
|
}
|
||||||
// else
|
// else
|
||||||
// dump( "foo", sdata, one_second/sizeof(int16_t) );
|
// dump( "foo", sdata, one_second/sizeof(int16_t) );
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if( bFailed )
|
|
||||||
return false;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Make sure we're getting non-null data. */
|
/* Make sure we're getting non-null data. */
|
||||||
|
|||||||
Reference in New Issue
Block a user