names.sort()
all_step_infos += [ ("%s.%s"%(step,name),module_dict[name],force) for name in names ]
except :
- print 'Step %s -- ignored'%(step)
+ print '********** step %s NOT FOUND -- ignored'%(step)
traceback.print_exc()
overall_result = False
cd $(dirname $0)
mkdir -p logs
logfile=logs/runtest-$(date +%H-%M).log
-exec python -u TestMain.py "$@" | tee $logfile
+
+# figure if TestMain succeeds, as the retcod gets lost in the pipe
+rm -f logs/success
+(python -u TestMain.py "$@" && touch logs/success) | tee $logfile
+
+if [ -f logs/success ] ; then
+ exit 0
+else
+ exit 1
+fi