]>
Commit | Line | Data |
---|---|---|
946a2afe MT |
1 | diff -up flac-1.2.1/test/test_seeking.sh.tests flac-1.2.1/test/test_seeking.sh |
2 | --- flac-1.2.1/test/test_seeking.sh.tests 2007-09-11 09:33:04.000000000 +0200 | |
3 | +++ flac-1.2.1/test/test_seeking.sh 2008-01-29 13:52:03.000000000 +0100 | |
4 | @@ -103,7 +103,7 @@ tiny_seek_count=100 | |
5 | if [ "$FLAC__TEST_LEVEL" -gt 1 ] ; then | |
6 | small_seek_count=10000 | |
7 | else | |
8 | - small_seek_count=100000 | |
9 | + small_seek_count=100 | |
10 | fi | |
11 | ||
12 | for suffix in '' '-s' ; do | |
13 | diff -up flac-1.2.1/test/test_streams.sh.tests flac-1.2.1/test/test_streams.sh | |
14 | --- flac-1.2.1/test/test_streams.sh.tests 2007-06-16 21:58:39.000000000 +0200 | |
15 | +++ flac-1.2.1/test/test_streams.sh 2008-03-17 13:57:39.000000000 +0100 | |
16 | @@ -39,6 +39,10 @@ if [ x"$FLAC__TEST_LEVEL" = x ] ; then | |
17 | FLAC__TEST_LEVEL=1 | |
18 | fi | |
19 | ||
20 | +if [ "$FLAC__TEST_LEVEL" -eq 0 ] ; then | |
21 | + exit 0 | |
22 | +fi | |
23 | + | |
24 | flac --help 1>/dev/null 2>/dev/null || die "ERROR can't find flac executable" | |
25 | ||
26 | run_flac () | |
27 | diff -up flac-1.2.1/src/test_streams/main.c.tests flac-1.2.1/src/test_streams/main.c | |
28 | --- flac-1.2.1/src/test_streams/main.c.tests 2007-08-31 07:54:49.000000000 +0200 | |
29 | +++ flac-1.2.1/src/test_streams/main.c 2008-01-29 13:53:46.000000000 +0100 | |
30 | @@ -898,9 +898,9 @@ int main(int argc, char *argv[]) | |
31 | if(!generate_noise("noise.raw", 65536 * 8 * 3)) return 1; | |
32 | if(!generate_noise("noise8m32.raw", 32)) return 1; | |
33 | if(!generate_wackywavs()) return 1; | |
34 | - for(channels = 1; channels <= 8; channels++) { | |
35 | + for(channels = 1; channels <= 2; channels++) { | |
36 | unsigned bits_per_sample; | |
37 | - for(bits_per_sample = 4; bits_per_sample <= 24; bits_per_sample++) { | |
38 | + for(bits_per_sample = 8; bits_per_sample <= 24; bits_per_sample += 8) { | |
39 | static const unsigned nsamples[] = { 1, 111, 4777 } ; | |
40 | unsigned samples; | |
41 | for(samples = 0; samples < sizeof(nsamples)/sizeof(nsamples[0]); samples++) { |