Megatest

mtutils.csh at [f412143bd2]
Login

File utils/mtutils.csh artifact d975762c89 part of check-in f412143bd2


alias mt_runstep 'set argv=(\!*); \
 set stepname = $1;shift; \
 megatest -runstep $stepname -logpro ${stepname}.logpro "$*" || exit $?'

alias mt_laststep 'set argv=(\!*);set stepname = $1;shift; \
 megatest -runstep $stepname -logpro ${stepname}.logpro "$*" ; \
 set exitstatus = $? ; \
 if ( $exitstatus == 0) megatest -test-status :state COMPLETED :status PASS ; \
 if ( $exitstatus != 0) megatest -test-status :state COMPLETED :status FAIL ; \
 if ( $exitstatus != 0) exit $exitstatus'