fate: Overhaul WavPack coverage
authorDerek Buitenhuis <derek.buitenhuis@gmail.com>
Fri, 24 Feb 2012 17:22:38 +0000 (12:22 -0500)
committerMichael Niedermayer <michaelni@gmx.at>
Sat, 25 Feb 2012 00:06:19 +0000 (01:06 +0100)
WavPack has a comprehensive test suite, and a bunch
of corner cases.

Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
30 files changed:
tests/Makefile
tests/fate/lossless-audio.mak
tests/fate/wavpack.mak [new file with mode: 0644]
tests/ref/fate/lossless-wavpack [deleted file]
tests/ref/fate/wavpack-channels-4.0 [new file with mode: 0644]
tests/ref/fate/wavpack-channels-5.1 [new file with mode: 0644]
tests/ref/fate/wavpack-channels-6.1 [new file with mode: 0644]
tests/ref/fate/wavpack-channels-7.1 [new file with mode: 0644]
tests/ref/fate/wavpack-channels-monofloat [new file with mode: 0644]
tests/ref/fate/wavpack-channels-monoint [new file with mode: 0644]
tests/ref/fate/wavpack-clipping [new file with mode: 0644]
tests/ref/fate/wavpack-cuesheet [new file with mode: 0644]
tests/ref/fate/wavpack-falsestereo [new file with mode: 0644]
tests/ref/fate/wavpack-lossless-12bit [new file with mode: 0644]
tests/ref/fate/wavpack-lossless-16bit [new file with mode: 0644]
tests/ref/fate/wavpack-lossless-24bit [new file with mode: 0644]
tests/ref/fate/wavpack-lossless-32bit [new file with mode: 0644]
tests/ref/fate/wavpack-lossless-8bit [new file with mode: 0644]
tests/ref/fate/wavpack-lossless-float [new file with mode: 0644]
tests/ref/fate/wavpack-lossy-16bit [new file with mode: 0644]
tests/ref/fate/wavpack-lossy-24bit [new file with mode: 0644]
tests/ref/fate/wavpack-lossy-32bit [new file with mode: 0644]
tests/ref/fate/wavpack-lossy-8bit [new file with mode: 0644]
tests/ref/fate/wavpack-lossy-float [new file with mode: 0644]
tests/ref/fate/wavpack-matroskamode [new file with mode: 0644]
tests/ref/fate/wavpack-speed-default [new file with mode: 0644]
tests/ref/fate/wavpack-speed-fast [new file with mode: 0644]
tests/ref/fate/wavpack-speed-high [new file with mode: 0644]
tests/ref/fate/wavpack-speed-vhigh [new file with mode: 0644]
tests/ref/fate/wavpack-zerolsbs [new file with mode: 0644]

index 97f595b..3716eb6 100644 (file)
@@ -75,6 +75,7 @@ include $(SRC_PATH)/tests/fate/voice.mak
 include $(SRC_PATH)/tests/fate/vorbis.mak
 include $(SRC_PATH)/tests/fate/vpx.mak
 include $(SRC_PATH)/tests/fate/vqf.mak
+include $(SRC_PATH)/tests/fate/wavpack.mak
 include $(SRC_PATH)/tests/fate/wma.mak
 
 FATE_ACODEC  = $(ACODEC_TESTS:%=fate-acodec-%)
index 0fa5dc8..fe2b4ad 100644 (file)
@@ -13,8 +13,5 @@ fate-lossless-shorten: CMD = md5 -i $(SAMPLES)/lossless-audio/luckynight-partial
 FATE_LOSSLESS_AUDIO += fate-lossless-tta
 fate-lossless-tta: CMD = crc -i $(SAMPLES)/lossless-audio/inside.tta
 
-FATE_LOSSLESS_AUDIO += fate-lossless-wavpack
-fate-lossless-wavpack: CMD = md5 -i $(SAMPLES)/lossless-audio/luckynight-partial.wv -f s16le
-
 FATE_TESTS += $(FATE_LOSSLESS_AUDIO)
 fate-lossless-audio: $(FATE_LOSSLESS_AUDIO)
diff --git a/tests/fate/wavpack.mak b/tests/fate/wavpack.mak
new file mode 100644 (file)
index 0000000..2807b26
--- /dev/null
@@ -0,0 +1,87 @@
+# Lossless
+
+FATE_TESTS += fate-wavpack-lossless-float
+fate-wavpack-lossless-float: CMD = md5 -i $(SAMPLES)/wavpack/lossless/32bit_float-partial.wv -f f32le
+
+FATE_TESTS += fate-wavpack-lossless-8bit
+fate-wavpack-lossless-8bit: CMD = md5 -i $(SAMPLES)/wavpack/lossless/8bit-partial.wv -f s8
+
+FATE_TESTS += fate-wavpack-lossless-12bit
+fate-wavpack-lossless-12bit: CMD = md5 -i $(SAMPLES)/wavpack/lossless/12bit-partial.wv -f s16le
+
+FATE_TESTS += fate-wavpack-lossless-16bit
+fate-wavpack-lossless-16bit: CMD = md5 -i $(SAMPLES)/wavpack/lossless/16bit-partial.wv -f s16le
+
+FATE_TESTS += fate-wavpack-lossless-24bit
+fate-wavpack-lossless-24bit: CMD = md5 -i $(SAMPLES)/wavpack/lossless/24bit-partial.wv -f s24le
+
+FATE_TESTS += fate-wavpack-lossless-32bit
+fate-wavpack-lossless-32bit: CMD = md5 -i $(SAMPLES)/wavpack/lossless/32bit_int-partial.wv -f s32le
+
+# Lossy
+
+FATE_TESTS += fate-wavpack-lossy-float
+fate-wavpack-lossy-float: CMD = md5 -i $(SAMPLES)/wavpack/lossy/2.0_32-bit_float.wv -f f32le
+
+FATE_TESTS += fate-wavpack-lossy-8bit
+fate-wavpack-lossy-8bit: CMD = md5 -i $(SAMPLES)/wavpack/lossy/4.0_8-bit.wv -f s8
+
+FATE_TESTS += fate-wavpack-lossy-16bit
+fate-wavpack-lossy-16bit: CMD = md5 -i $(SAMPLES)/wavpack/lossy/4.0_16-bit.wv -f s16le
+
+FATE_TESTS += fate-wavpack-lossy-24bit
+fate-wavpack-lossy-24bit: CMD = md5 -i $(SAMPLES)/wavpack/lossy/4.0_24-bit.wv -f s24le
+
+FATE_TESTS += fate-wavpack-lossy-32bit
+fate-wavpack-lossy-32bit: CMD = md5 -i $(SAMPLES)/wavpack/lossy/4.0_32-bit_int.wv -f s32le
+
+# Channel configurations
+
+FATE_TESTS += fate-wavpack-channels-monofloat
+fate-wavpack-channels-monofloat: CMD = md5 -i $(SAMPLES)/wavpack/num_channels/mono_float-partial.wv -f f32le
+
+FATE_TESTS += fate-wavpack-channels-monoint
+fate-wavpack-channels-monoint: CMD = md5 -i $(SAMPLES)/wavpack/num_channels/mono_16bit_int.wv -f s16le
+
+FATE_TESTS += fate-wavpack-channels-4.0
+fate-wavpack-channels-4.0: CMD = md5 -i $(SAMPLES)/wavpack/num_channels/edward_4.0_16bit-partial.wv -f s16le
+
+FATE_TESTS += fate-wavpack-channels-5.1
+fate-wavpack-channels-5.1: CMD = md5 -i $(SAMPLES)/wavpack/num_channels/panslab_sample_5.1_16bit-partial.wv -f s16le
+
+FATE_TESTS += fate-wavpack-channels-6.1
+fate-wavpack-channels-6.1: CMD = md5 -i $(SAMPLES)/wavpack/num_channels/eva_2.22_6.1_16bit-partial.wv -f s16le
+
+FATE_TESTS += fate-wavpack-channels-7.1
+fate-wavpack-channels-7.1: CMD = md5 -i $(SAMPLES)/wavpack/num_channels/panslab_sample_7.1_16bit-partial.wv -f s16le
+
+# Speed modes
+
+FATE_TESTS += fate-wavpack-speed-default
+fate-wavpack-speed-default: CMD = md5 -i $(SAMPLES)/wavpack/speed_modes/default-partial.wv  -f s16le
+
+FATE_TESTS += fate-wavpack-speed-fast
+fate-wavpack-speed-fast: CMD = md5 -i $(SAMPLES)/wavpack/speed_modes/fast-partial.wv  -f s16le
+
+FATE_TESTS += fate-wavpack-speed-high
+fate-wavpack-speed-high: CMD = md5 -i $(SAMPLES)/wavpack/speed_modes/high-partial.wv  -f s16le
+
+FATE_TESTS += fate-wavpack-speed-vhigh
+fate-wavpack-speed-vhigh: CMD = md5 -i $(SAMPLES)/wavpack/speed_modes/vhigh-partial.wv  -f s16le
+
+# Special Cases
+
+FATE_TESTS += fate-wavpack-cuesheet
+fate-wavpack-cuesheet: CMD = md5 -i $(SAMPLES)/wavpack/special/cue_sheet.wv -f s16le
+
+FATE_TESTS += fate-wavpack-zerolsbs
+fate-wavpack-zerolsbs: CMD = md5 -i $(SAMPLES)/wavpack/special/zero_lsbs.wv -f s16le
+
+FATE_TESTS += fate-wavpack-clipping
+fate-wavpack-clipping: CMD = md5 -i $(SAMPLES)/wavpack/special/clipping.wv -f s16le
+
+FATE_TESTS += fate-wavpack-falsestereo
+fate-wavpack-falsestereo: CMD = md5 -i $(SAMPLES)/wavpack/special/false_stereo.wv -f s16le
+
+FATE_TESTS += fate-wavpack-matroskamode
+fate-wavpack-matroskamode: CMD = md5 -i $(SAMPLES)/wavpack/special/matroska_mode.mka -f s16le
diff --git a/tests/ref/fate/lossless-wavpack b/tests/ref/fate/lossless-wavpack
deleted file mode 100644 (file)
index 6281924..0000000
+++ /dev/null
@@ -1 +0,0 @@
-97223f65c91213694a660d52f87f35aa
diff --git a/tests/ref/fate/wavpack-channels-4.0 b/tests/ref/fate/wavpack-channels-4.0
new file mode 100644 (file)
index 0000000..4cf6764
--- /dev/null
@@ -0,0 +1 @@
+a03999c3ad17423f3a7e3d537fea8589
diff --git a/tests/ref/fate/wavpack-channels-5.1 b/tests/ref/fate/wavpack-channels-5.1
new file mode 100644 (file)
index 0000000..49fe876
--- /dev/null
@@ -0,0 +1 @@
+4ab874ad4a47141073f6db9aeec422a8
diff --git a/tests/ref/fate/wavpack-channels-6.1 b/tests/ref/fate/wavpack-channels-6.1
new file mode 100644 (file)
index 0000000..ed46b7c
--- /dev/null
@@ -0,0 +1 @@
+a524a76c85f55b7d63914fc1543a5268
diff --git a/tests/ref/fate/wavpack-channels-7.1 b/tests/ref/fate/wavpack-channels-7.1
new file mode 100644 (file)
index 0000000..1f54afe
--- /dev/null
@@ -0,0 +1 @@
+cffe4d47290ff3cef974e5aa6bc32559
diff --git a/tests/ref/fate/wavpack-channels-monofloat b/tests/ref/fate/wavpack-channels-monofloat
new file mode 100644 (file)
index 0000000..41d94fa
--- /dev/null
@@ -0,0 +1 @@
+71386c0f63105e414220f0f0d369a0e6
diff --git a/tests/ref/fate/wavpack-channels-monoint b/tests/ref/fate/wavpack-channels-monoint
new file mode 100644 (file)
index 0000000..204ab6d
--- /dev/null
@@ -0,0 +1 @@
+931f27e3ec69fae0952548504461d97c
diff --git a/tests/ref/fate/wavpack-clipping b/tests/ref/fate/wavpack-clipping
new file mode 100644 (file)
index 0000000..fd19f93
--- /dev/null
@@ -0,0 +1 @@
+d18d0b2dc7d329aefcbb889dc99383ab
diff --git a/tests/ref/fate/wavpack-cuesheet b/tests/ref/fate/wavpack-cuesheet
new file mode 100644 (file)
index 0000000..e013bb0
--- /dev/null
@@ -0,0 +1 @@
+85eb2940491442ca25c2a702a6f30e5f
diff --git a/tests/ref/fate/wavpack-falsestereo b/tests/ref/fate/wavpack-falsestereo
new file mode 100644 (file)
index 0000000..458ce65
--- /dev/null
@@ -0,0 +1 @@
+e3fdd584bef84e85f4ca84e2769306f8
diff --git a/tests/ref/fate/wavpack-lossless-12bit b/tests/ref/fate/wavpack-lossless-12bit
new file mode 100644 (file)
index 0000000..2adf043
--- /dev/null
@@ -0,0 +1 @@
+925e047ac0d4c874a9cff3cc9117ac91
diff --git a/tests/ref/fate/wavpack-lossless-16bit b/tests/ref/fate/wavpack-lossless-16bit
new file mode 100644 (file)
index 0000000..04fc280
--- /dev/null
@@ -0,0 +1 @@
+e2dc4b85377b275a48c8bd2a4f5b91fd
diff --git a/tests/ref/fate/wavpack-lossless-24bit b/tests/ref/fate/wavpack-lossless-24bit
new file mode 100644 (file)
index 0000000..1fd8dca
--- /dev/null
@@ -0,0 +1 @@
+9d7bc1a45bd3ba9d1eb5706f0dfc3e47
diff --git a/tests/ref/fate/wavpack-lossless-32bit b/tests/ref/fate/wavpack-lossless-32bit
new file mode 100644 (file)
index 0000000..cef05f3
--- /dev/null
@@ -0,0 +1 @@
+c35f539bb5796ed93908c987fab1c26c
diff --git a/tests/ref/fate/wavpack-lossless-8bit b/tests/ref/fate/wavpack-lossless-8bit
new file mode 100644 (file)
index 0000000..58cdb99
--- /dev/null
@@ -0,0 +1 @@
+e4e65e2048ba373d89836907328cfb27
diff --git a/tests/ref/fate/wavpack-lossless-float b/tests/ref/fate/wavpack-lossless-float
new file mode 100644 (file)
index 0000000..6081ae1
--- /dev/null
@@ -0,0 +1 @@
+04b860cf4f9ecba36c053fdf83dac14a
diff --git a/tests/ref/fate/wavpack-lossy-16bit b/tests/ref/fate/wavpack-lossy-16bit
new file mode 100644 (file)
index 0000000..3adeaa0
--- /dev/null
@@ -0,0 +1 @@
+c2aa8d83d14f799a9289b73bb6263fbc
diff --git a/tests/ref/fate/wavpack-lossy-24bit b/tests/ref/fate/wavpack-lossy-24bit
new file mode 100644 (file)
index 0000000..566ec6d
--- /dev/null
@@ -0,0 +1 @@
+0c04941424ba0981eac0e681130788f7
diff --git a/tests/ref/fate/wavpack-lossy-32bit b/tests/ref/fate/wavpack-lossy-32bit
new file mode 100644 (file)
index 0000000..6b66d0a
--- /dev/null
@@ -0,0 +1 @@
+7b94c7ab8ec78ddf59bd7967199cdc8e
diff --git a/tests/ref/fate/wavpack-lossy-8bit b/tests/ref/fate/wavpack-lossy-8bit
new file mode 100644 (file)
index 0000000..d921ea6
--- /dev/null
@@ -0,0 +1 @@
+f0e452d762d5e7b675970e6e67b781e7
diff --git a/tests/ref/fate/wavpack-lossy-float b/tests/ref/fate/wavpack-lossy-float
new file mode 100644 (file)
index 0000000..9f984ac
--- /dev/null
@@ -0,0 +1 @@
+d4733e795e5af80da9a265cf83a6da69
diff --git a/tests/ref/fate/wavpack-matroskamode b/tests/ref/fate/wavpack-matroskamode
new file mode 100644 (file)
index 0000000..1f54afe
--- /dev/null
@@ -0,0 +1 @@
+cffe4d47290ff3cef974e5aa6bc32559
diff --git a/tests/ref/fate/wavpack-speed-default b/tests/ref/fate/wavpack-speed-default
new file mode 100644 (file)
index 0000000..9dc559f
--- /dev/null
@@ -0,0 +1 @@
+a57bec3f270c3b294d1e5ea07760514c
diff --git a/tests/ref/fate/wavpack-speed-fast b/tests/ref/fate/wavpack-speed-fast
new file mode 100644 (file)
index 0000000..181d7dd
--- /dev/null
@@ -0,0 +1 @@
+ebff08f89073e3f662f822df428711d5
diff --git a/tests/ref/fate/wavpack-speed-high b/tests/ref/fate/wavpack-speed-high
new file mode 100644 (file)
index 0000000..3d85201
--- /dev/null
@@ -0,0 +1 @@
+a28c4d0f1d0c6ac7739e05150a8c401a
diff --git a/tests/ref/fate/wavpack-speed-vhigh b/tests/ref/fate/wavpack-speed-vhigh
new file mode 100644 (file)
index 0000000..3d85201
--- /dev/null
@@ -0,0 +1 @@
+a28c4d0f1d0c6ac7739e05150a8c401a
diff --git a/tests/ref/fate/wavpack-zerolsbs b/tests/ref/fate/wavpack-zerolsbs
new file mode 100644 (file)
index 0000000..cc16fb9
--- /dev/null
@@ -0,0 +1 @@
+33c09fedba88693f6cc423ca3763e7fe