From 9dafed6b7fe2fe45f44aa8c614d51388f84bb696 Mon Sep 17 00:00:00 2001 From: Christopher Peplin Date: Fri, 27 Dec 2013 11:22:56 -0500 Subject: Initial commit with blank structure. --- runtests.sh | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 runtests.sh (limited to 'runtests.sh') diff --git a/runtests.sh b/runtests.sh new file mode 100644 index 00000000..4781636b --- /dev/null +++ b/runtests.sh @@ -0,0 +1,17 @@ +echo "Running unit tests:" + +for i in $1/*.bin +do + if test -f $i + then + if ./$i + then + echo $i PASS + else + echo "ERROR in test $i:" + exit 1 + fi + fi +done + +echo "${txtbld}$(tput setaf 2)All unit tests passed.$(tput sgr0)" -- cgit 1.2.3-korg