From ce1c2de044c91624370411e23acab13b0381949b Mon Sep 17 00:00:00 2001 From: mikebarnett Date: Wed, 15 Jul 2009 21:03:41 +0000 Subject: Initial set of files. --- Test/CompareAll | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 Test/CompareAll (limited to 'Test/CompareAll') diff --git a/Test/CompareAll b/Test/CompareAll new file mode 100644 index 00000000..1dfebd87 --- /dev/null +++ b/Test/CompareAll @@ -0,0 +1,22 @@ +#!/usr/bin/bash + +# ALL_TESTS=`cat alltests.txt | grep -E "^[[:alnum:]-]+\W+Use\W" | awk '{print $1}'` +ALL_TESTS=`cat alltests.txt | grep -E "^[^[:space:]]+[[:space:]]+(Use|Long)[[:space:]]" | awk '{print $1}'` + +echo ---------- All tests ---------- > Answer-all +for t in ${ALL_TESTS} ; do + echo ====================================================================== >> Answer-all + echo ======================================== $t >> Answer-all + echo ====================================================================== >> Answer-all + cat $t/Answer >> Answer-all +done + +echo ---------- All tests ---------- > Output-all +for t in ${ALL_TESTS} ; do + echo ====================================================================== >> Output-all + echo ======================================== $t >> Output-all + echo ====================================================================== >> Output-all + cat $t/Output >> Output-all +done + +echo All answers collected in Answer-all and all outputs in Output-all -- cgit v1.2.3