summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMartijn van Beurden <mvanb1@gmail.com>2022-05-24 09:25:15 +0200
committerMartijn van Beurden <mvanb1@gmail.com>2022-06-12 18:38:21 +0200
commita15ae334c93c9a460b36d2f2231660efbab38708 (patch)
treedc438c987715ae440389388bd5881d72353f4b7a /test
parent0fe187b54511b575892fb38e01d8e2ab809fb0fe (diff)
downloadflac-a15ae334c93c9a460b36d2f2231660efbab38708.tar.gz
Add 32-bit files to test
Diffstat (limited to 'test')
-rwxr-xr-xtest/test_streams.sh10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/test_streams.sh b/test/test_streams.sh
index bf05bf84..9755326a 100755
--- a/test/test_streams.sh
+++ b/test/test_streams.sh
@@ -184,7 +184,7 @@ test_file test02 2 16 "-0 -l $max_lpc_order --lax -m -e -p"
test_file test03 1 16 "-0 -l $max_lpc_order --lax -m -e -p"
test_file test04 2 16 "-0 -l $max_lpc_order --lax -m -e -p"
-for bps in 8 16 24 ; do
+for bps in 8 16 24 32 ; do
echo "Testing $bps-bit full-scale deflection streams..."
for b in 01 02 03 04 05 06 07 ; do
test_file fsd$bps-$b 1 $bps "-0 -l $max_lpc_order --lax -m -e -p"
@@ -196,7 +196,7 @@ for b in 01 ; do
test_file wbps16-$b 1 16 "-0 -l $max_lpc_order --lax -m -e -p"
done
-for bps in 8 16 24 ; do
+for bps in 8 16 24 32; do
echo "Testing $bps-bit sine wave streams..."
for b in 00 ; do
test_file sine${bps}-$b 1 $bps "-0 -l $max_lpc_order --lax -m -e --sample-rate=48000"
@@ -299,11 +299,11 @@ echo "Testing noise..."
for disable in '' '--disable-verbatim-subframes --disable-constant-subframes' '--disable-verbatim-subframes --disable-constant-subframes --disable-fixed-subframes' ; do
if [ -z "$disable" ] || [ "$FLAC__TEST_LEVEL" -gt 0 ] ; then
for channels in 1 2 4 8 ; do
- if [ $channels -le 2 ] || [ "$FLAC__TEST_LEVEL" -gt 0 ] ; then
- for bps in 8 16 24 ; do
+ if [ $channels -le 2 ] || [ "$FLAC__TEST_LEVEL" -gt 1 ] ; then
+ for bps in 8 16 24 32; do
for opt in 0 1 2 3 4 5 6 7 8 ; do
for extras in '' '-p' '-e' ; do
- if [ -z "$extras" ] || [ "$FLAC__TEST_LEVEL" -gt 0 ] ; then
+ if { [ -z "$extras" ] || [ "$FLAC__TEST_LEVEL" -gt 0 ]; } && { [ "$extras" != '-p' ] || [ "$opt" -gt 2 ]; } ; then
for blocksize in '' '--lax -b 32' '--lax -b 32768' '--lax -b 65535' ; do
if [ -z "$blocksize" ] || [ "$FLAC__TEST_LEVEL" -gt 0 ] ; then
test_file noise $channels $bps "-$opt $extras $blocksize $disable"