Provide a switch to output status of runs matching specified pattern.
Output would be "<runname> <overall status>" for each run matching pattern.
overall status should reflect the overall status of the run. THe idea is that a querying script could know whether a run is "done, but at least one test failed", "done, all tests passed" "in progress", "not started".
Eg: if some tests are running, others are not started, and others are completed
Output should be spartan to make parsing easy.
Example:
megatest -runstatus %
myrun0 COMPLETED/FAIL
myrun1 COMPLETED/PASS
myrun3 RUNNING/PASS
myrun3 RUNNING/FAIL
myrun4 NOT_STARTED
myrun5 STUCK
|