Speed up the tests by testing slightly fewer combinations.

This commit is contained in:
Erik de Castro Lopo 2012-02-26 12:19:39 +11:00
parent 21a4f653e1
commit 774e0776a5
2 changed files with 3 additions and 3 deletions

View File

@ -1078,9 +1078,9 @@ int main(int argc, char *argv[])
if(!generate_wackywavs()) return 1;
if(!generate_wackywav64s()) return 1;
if(!generate_wackyrf64s()) return 1;
for(channels = 1; channels <= 8; channels++) {
for(channels = 1; channels <= 8; channels *= 2) {
unsigned bits_per_sample;
for(bits_per_sample = 4; bits_per_sample <= 24; bits_per_sample++) {
for(bits_per_sample = 8; bits_per_sample <= 24; bits_per_sample += 4) {
static const unsigned nsamples[] = { 1, 111, 4777 } ;
unsigned samples;
for(samples = 0; samples < sizeof(nsamples)/sizeof(nsamples[0]); samples++) {

View File

@ -103,7 +103,7 @@ tiny_seek_count=100
if [ "$FLAC__TEST_LEVEL" -gt 1 ] ; then
small_seek_count=10000
else
small_seek_count=100000
small_seek_count=100
fi
for suffix in '' '-s' ; do