Commit 774e0776 authored by Erik de Castro Lopo's avatar Erik de Castro Lopo
Browse files

Speed up the tests by testing slightly fewer combinations.

parent 21a4f653
......@@ -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++) {
......
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment