-#!/bin/sh
+#!/bin/bash
+cd `dirname $0`
bold="`tput -T${TERM:-dumb} bold`"
red="`tput -T${TERM:-dumb} setf 4`"
sgr0="`tput -T${TERM:-dumb} sgr0`"
-for i in test-*.sh; do
- ./$i "$1"
+APP="$1"
+if [ "$APP" == "" ]; then
+ echo "Must specify application"
+ exit 1
+fi
+for i in $1-*-test.sh; do
+ ./$i "$2"
if [ $? -eq 0 ]
then
echo "${bold}OK${sgr0}"