From: Tomas Musil Date: Sat, 25 Aug 2012 16:07:16 +0000 (+0200) Subject: testing scripts X-Git-Url: http://git.tomasm.cz/imago.git/commitdiff_plain/1e4066f3ac16b0d438b2d1d6f02c3e0fc5ee67d2?ds=inline;hp=129886d4580041098317fa70be6f03cc731b26a0 testing scripts --- diff --git a/tests/batch b/tests/batch new file mode 100755 index 0000000..37e8e01 --- /dev/null +++ b/tests/batch @@ -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 index 0000000..6f65444 --- /dev/null +++ b/tests/play @@ -0,0 +1,10 @@ +#!/bin/bash + +clear + +for file in $1/*.txt ; do + echo $file + cat $file + sleep 1 + clear +done