fate: use standard diff options
authorMans Rullgard <mans@mansr.com>
Mon, 14 May 2012 21:31:08 +0000 (22:31 +0100)
committerMans Rullgard <mans@mansr.com>
Tue, 15 May 2012 18:47:18 +0000 (19:47 +0100)
diff -w is not a standard option.  This fixes the reference files
to match what the tests actually output and switches to using the
standard diff -b which is sufficient to handle different line ending
styles.

Signed-off-by: Mans Rullgard <mans@mansr.com>
tests/fate-run.sh
tests/ref/fate/crc
tests/ref/lavf/pam
tests/ref/vsynth1/cljr
tests/ref/vsynth1/dnxhd_720p_10bit
tests/ref/vsynth1/error
tests/ref/vsynth1/ffvhuff
tests/ref/vsynth2/cljr
tests/ref/vsynth2/dnxhd_720p_10bit
tests/ref/vsynth2/error
tests/ref/vsynth2/ffvhuff

index 636fc2d59916a6218b1ee6f60e261f6e3dc53841..a933fa1ab796fd1fc2dd2ea52a5a2c6e4d9decca 100755 (executable)
@@ -157,7 +157,7 @@ fi
 
 if test -e "$ref" || test $cmp = "oneline" ; then
     case $cmp in
-        diff)   diff -u -w "$ref" "$outfile"            >$cmpfile ;;
+        diff)   diff -u -b "$ref" "$outfile"            >$cmpfile ;;
         oneoff) oneoff     "$ref" "$outfile"            >$cmpfile ;;
         stddev) stddev     "$ref" "$outfile"            >$cmpfile ;;
         oneline)oneline    "$ref" "$outfile"            >$cmpfile ;;
index 4a8268049000f82e3b0c69c25a57879a274ef6c4..1c24aea74a1ac56e0dce9d126ebe0aceed62a526 100644 (file)
@@ -1,4 +1,4 @@
-crc EDB88320 =3D5CDD04
-crc 04C11DB7 =E0BAF5C0
-crc 00008005 =BB1F
-crc 00000007 =E3
+crc EDB88320 = 3D5CDD04
+crc 04C11DB7 = E0BAF5C0
+crc 00008005 = BB1F
+crc 00000007 = E3
index 972d72825e7a521c7bf65b30792db29a3170b8bc..e53132a312dd611acdfa44fb749eb32ffca4854f 100644 (file)
@@ -1,3 +1,3 @@
 0dce5565222cf0f8b309467f279aecd2 *./tests/data/images/pam/02.pam
 ./tests/data/images/pam/%02d.pam CRC=0x6da01946
-  304191 ./tests/data/images/pam/02.pam
+304191 ./tests/data/images/pam/02.pam
index 4978344bd3f4f5b94d173b9d753e24502fc178b6..4eb6483fedf91bd90de2d78b9fec25551ae7e673 100644 (file)
@@ -1,4 +1,4 @@
 b4d3d31da0b4b6873ad8239d113c91d2 *./tests/data/vsynth1/cljr.avi
- 5075660 ./tests/data/vsynth1/cljr.avi
+5075660 ./tests/data/vsynth1/cljr.avi
 4debaab994c2c7273bebaa0c5733017b *./tests/data/cljr.vsynth1.out.yuv
 stddev:   30.75 PSNR: 18.37 MAXDIFF:  225 bytes:  7603200/  7603200
index ad97b66b7d6c18ca4641d670f811c28a572a363c..499714c80be733d05ebaf88599a7f938d97bd5c0 100644 (file)
@@ -1,4 +1,4 @@
 b5e24a055af02edec8674333260214fd *./tests/data/vsynth1/dnxhd-720p-10bit.dnxhd
- 2293760 ./tests/data/vsynth1/dnxhd-720p-10bit.dnxhd
+2293760 ./tests/data/vsynth1/dnxhd-720p-10bit.dnxhd
 4466ff3d73d01bbe75ea25001d379b63 *./tests/data/dnxhd_720p_10bit.vsynth1.out.yuv
 stddev:    6.27 PSNR: 32.18 MAXDIFF:   64 bytes:   760320/  7603200
index bc24d5b2af0e60364381e4a9dc4bc1ed9bb10769..4d1e9e5b0c0c4adb1ea0ee22af704942e959053d 100644 (file)
@@ -1,4 +1,4 @@
 7416dfd319f04044d4575dc9d1b406e1 *./tests/data/vsynth1/error-mpeg4-adv.avi
-  756836 ./tests/data/vsynth1/error-mpeg4-adv.avi
+756836 ./tests/data/vsynth1/error-mpeg4-adv.avi
 79e94ba32b37759397362cbcb479d4d3 *./tests/data/error.vsynth1.out.yuv
 stddev:   18.36 PSNR: 22.85 MAXDIFF:  243 bytes:  7603200/  7603200
index 4a1ebdb1a359d6a15fc0d928ef5bca1591e1a00c..e1aad33f71565a61c9e8d417b2d0838140c28b29 100644 (file)
@@ -1,4 +1,4 @@
 da0c0bd12ac141c976ffa6a71832ab4b *./tests/data/vsynth1/ffvhuff.avi
- 5987208 ./tests/data/vsynth1/ffvhuff.avi
+5987208 ./tests/data/vsynth1/ffvhuff.avi
 c5ccac874dbf808e9088bc3107860042 *./tests/data/ffvhuff.vsynth1.out.yuv
 stddev:    0.00 PSNR:999.99 MAXDIFF:    0 bytes:  7603200/  7603200
index 562f35fa22ee61f877e9b53dec9043259d009e54..f920b7a67ad031b3aa2bdb5657731e7cabc1d4d0 100644 (file)
@@ -1,4 +1,4 @@
 416ddcf73d2d993456f3c49f3eed4f1a *./tests/data/vsynth2/cljr.avi
- 5075660 ./tests/data/vsynth2/cljr.avi
+5075660 ./tests/data/vsynth2/cljr.avi
 3a70ba2a535ef9c7fc6478b27a2cb58a *./tests/data/cljr.vsynth2.out.yuv
 stddev:   10.48 PSNR: 27.72 MAXDIFF:   64 bytes:  7603200/  7603200
index 60c0d84a345bab57f0df4d2b61eccc1abaf9ac7a..9409e246cf84dc846718b71bd5f7e743998421cb 100644 (file)
@@ -1,4 +1,4 @@
 4b57da2c0c1280469ff3579f7151c227 *./tests/data/vsynth2/dnxhd-720p-10bit.dnxhd
- 2293760 ./tests/data/vsynth2/dnxhd-720p-10bit.dnxhd
+2293760 ./tests/data/vsynth2/dnxhd-720p-10bit.dnxhd
 31a6aa8b8702e85fa3b48e73f035c4e4 *./tests/data/dnxhd_720p_10bit.vsynth2.out.yuv
 stddev:    1.35 PSNR: 45.46 MAXDIFF:   23 bytes:   760320/  7603200
index 424c54962baf781dfaaf62922fc1e560e473af36..a6bfcd4fe2648890efce77a853b5385e958a1826 100644 (file)
@@ -1,4 +1,4 @@
 90e65096aa9ebafa3fe3f44a5a47cdc4 *./tests/data/vsynth2/error-mpeg4-adv.avi
-  176588 ./tests/data/vsynth2/error-mpeg4-adv.avi
+176588 ./tests/data/vsynth2/error-mpeg4-adv.avi
 96baa9e4c24c837a3ba5abd8dd2cdd30 *./tests/data/error.vsynth2.out.yuv
 stddev:    8.98 PSNR: 29.06 MAXDIFF:  184 bytes:  7603200/  7603200
index 47fc6597d774da4dd600ff760914d66a7c170afa..3a4a89021f124747ac1d18380f35c0cc69b5d54e 100644 (file)
@@ -1,4 +1,4 @@
 d31aab445b24f738df45fdd7479d6dd7 *./tests/data/vsynth2/ffvhuff.avi
- 4988056 ./tests/data/vsynth2/ffvhuff.avi
+4988056 ./tests/data/vsynth2/ffvhuff.avi
 dde5895817ad9d219f79a52d0bdfb001 *./tests/data/ffvhuff.vsynth2.out.yuv
 stddev:    0.00 PSNR:999.99 MAXDIFF:    0 bytes:  7603200/  7603200