Differences From Artifact [2d77d9ebfd]:
- Executable file tests/fullrun/tests/runfirst/main.sh — part of check-in [cdf61d9fc0] at 2013-07-25 14:33:29 on branch dev — Improved exit handling of state/status for tests. If RUNNING then automatic handling is done. If other than RUNNING, simply preserve the values and roll up if an itemized test. Added to tests to better enforce this behavior. Previous behavior was mostly right but failed in some corner cases. Added database cleanup routine. Properly handle removal of tests and mark tests for a run as deleted if the run is removed (user: mrwellan, size: 1321) [annotate] [blame] [check-ins using] [more...]
To Artifact [2f5036b48c]:
- Executable file tests/fullrun/tests/runfirst/main.sh — part of check-in [db2ccc3980] at 2015-04-01 01:20:57 on branch v1.60 — Merged in ezsteps refactor branch (user: matt, size: 1370) [annotate] [blame] [check-ins using] [more...]
1 2 3 4 5 6 7 8 | 1 2 3 4 5 6 7 8 9 10 | + + | #!/bin/bash # (export DISPLAY=:0;xterm) # megatest -step wasting_time :state start :status n/a -m "This is a test step comment" # sleep 20 # megatest -step wasting_time :state end :status $? touch ../I_was_here mkdir -p $MT_RUN_AREA_HOME/tmp/$USER/$sysname/$fsname/$datapath/$MT_RUNNAME |
︙ | |||
28 29 30 31 32 33 34 35 36 | 30 31 32 33 34 35 36 37 38 39 40 | + + | loadstatus=$? if [[ `basename $PWD` == "mustfail" ]];then $MT_MEGATEST -test-status :state COMPLETED :status FAIL else $MT_MEGATEST -test-status :state COMPLETED :status $loadstatus -m "This is a test level comment" :value 10e6 :expected_value 1.1e6 :tol 100e3 :category nada :variable sillyvar :units mFarks :comment "This is the value/expected comment" fi env > envfile.txt # $MT_MEGATEST -test-status :state COMPLETED :status FAIL |