#
SILENT=1
+PROGRESS=0
date=`date +"%b %d %Y"`
## @fn createTemplate()
printf "Create a template 'runTest.sh' test group at your current directory\n"
printf " --createtemplate or -c\n"
printf "\n"
+ printf "Show progress during execution\n"
+ printf " --progress or -p\n"
+ printf "\n"
printf "Shows this message\n"
printf " --help or -h\n"
printf " $ ${BASENAME} --help \n"
createTemplate
shift
;;
+ -p|--progress)
+ PROGRESS=1
+ shift
+ ;;
*) # Unknown, which is probably target (the path to root-dir of test groups).
TARGET="$1"
shift
Nfail=0
tmpfile=$(mktemp)
+ if [[ "$PROGRESS" -eq "1" ]]; then
+ printf "[Starting] $CASENAME\n"
+ fi
pushd $CASEBASEPATH > /dev/null
output=$(. $file $CASEBASEPATH)
retcode=$?