[SCM] applications.git branch, master, updated. d4bcc9385c480276a5d265a3093a0e8795894dc2
Benoit Sonntag
sonntag at icps.u-strasbg.fr
Sun Jan 10 02:31:06 UTC 2010
The following commit has been merged in the master branch:
commit 95855443a3d03bd4fc32110db23d16adb5bac5a7
Author: Benoit Sonntag <sonntag at icps.u-strasbg.fr>
Date: Sun Jan 10 02:46:43 2010 +0100
add test for mpg2 decoder
diff --git a/examples/standard/gui/mpg2/testMpgdecValid.sh b/examples/standard/gui/mpg2/testMpgdecValid.sh
new file mode 100755
index 0000000..4d4e083
--- /dev/null
+++ b/examples/standard/gui/mpg2/testMpgdecValid.sh
@@ -0,0 +1,26 @@
+#!/bin/sh
+
+
+./mpeg2dec anim.mpe -o1 rec
+for i in `seq 0 186` ; do cat rec$i.Y rec$i.U rec$i.V >> binTest ; done
+rm *.Y *.U *.V
+
+./mpeg2dec anim.mpe -o2 rec
+for i in `seq 0 186` ; do cat rec$i.SIF >> binTest ; done
+rm *.SIF
+
+./mpeg2dec anim.mpe -o3 rec
+for i in `seq 0 186` ; do cat rec$i.tga >> binTest ; done
+rm *.tga
+
+./mpeg2dec anim.mpe -o4 rec
+for i in `seq 0 186` ; do cat rec$i.ppm >> binTest ; done
+rm *.ppm
+
+
+md5sum -c testValide.md5
+rm binTest
+#if [ $var == "value" ]
+#then
+#echo is the same
+#fi
diff --git a/examples/standard/gui/mpg2/testValide.md5 b/examples/standard/gui/mpg2/testValide.md5
new file mode 100644
index 0000000..e3a3e26
--- /dev/null
+++ b/examples/standard/gui/mpg2/testValide.md5
@@ -0,0 +1 @@
+59b77b46d655b5ae243d634664235d1a *binTest
--
applications.git
More information about the Lisaac-commits
mailing list