From 1e4066f3ac16b0d438b2d1d6f02c3e0fc5ee67d2 Mon Sep 17 00:00:00 2001 From: Tomas Musil Date: Sat, 25 Aug 2012 18:07:16 +0200 Subject: [PATCH] testing scripts --- tests/batch | 5 +++++ tests/play | 10 ++++++++++ 2 files changed, 15 insertions(+) create mode 100755 tests/batch create mode 100755 tests/play 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 -- 2.4.2