diff options
author | Erik de Castro Lopo <erikd@mega-nerd.com> | 2012-02-26 12:19:39 +1100 |
---|---|---|
committer | Erik de Castro Lopo <erikd@mega-nerd.com> | 2012-02-26 12:19:39 +1100 |
commit | 774e0776a53ca363e58040caff603463ee6e14fc (patch) | |
tree | 0216567792f1abfa70523a5af48beee35999d5ba /src/test_streams/main.c | |
parent | 21a4f653e19314e44756c9231c3dfc2bdc52c93f (diff) | |
download | flac-774e0776a53ca363e58040caff603463ee6e14fc.tar.gz |
Speed up the tests by testing slightly fewer combinations.
Diffstat (limited to 'src/test_streams/main.c')
-rw-r--r-- | src/test_streams/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test_streams/main.c b/src/test_streams/main.c index c41b3461..fe1173cf 100644 --- a/src/test_streams/main.c +++ b/src/test_streams/main.c @@ -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++) { |