Megatest

mtutils.csh at [02ff025715]
Login

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


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'