testing scripts
authorTomas Musil <tomik.musil@gmail.com>
Sat, 25 Aug 2012 16:07:16 +0000 (18:07 +0200)
committerTomas Musil <tomik.musil@gmail.com>
Sat, 25 Aug 2012 16:07:16 +0000 (18:07 +0200)
tests/batch [new file with mode: 0755]
tests/play [new file with mode: 0755]

diff --git a/tests/batch b/tests/batch
new file mode 100755 (executable)
index 0000000..37e8e01
--- /dev/null
@@ -0,0 +1,5 @@
+#!/bin/bash
+
+for file in "$@" ; do
+       ../imago.py -vds -w 640 $file > "${file%.jpg}.txt"
+done
diff --git a/tests/play b/tests/play
new file mode 100755 (executable)
index 0000000..6f65444
--- /dev/null
@@ -0,0 +1,10 @@
+#!/bin/bash
+
+clear
+
+for file in $1/*.txt ; do
+       echo $file
+       cat $file
+       sleep 1
+       clear
+done