summaryrefslogtreecommitdiff
path: root/src/test.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/test.sh')
-rwxr-xr-xsrc/test.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/test.sh b/src/test.sh
new file mode 100755
index 0000000..2109112
--- /dev/null
+++ b/src/test.sh
@@ -0,0 +1,12 @@
+#!/bin/sh
+
+opts='--cpus 1 --hash 256m --egtbpath /egtb/three;/egtb/four;/egtb/five'
+
+if [ $# -ne 2 ]; then
+ echo "Usage: ${0} <required-test-name> <time>"
+ exit 1
+fi
+./typhoon ${opts} --logfile test.log --batch --command "st ${2}; script ${1}"
+tail -19 ./test.log | head -9 > ./checkin
+./suite_diff.pl ./test.log ./lastrun.log >> ./checkin
+more ./checkin