Megatest

View Ticket
Login
2015-09-23
14:37 New ticket [51f2557c24] Provide switch to emit run status of a run. artifact: 58ad137138 user: bjbarcla

Ticket Hash: 51f2557c247f608c5a405209608d9bf802b36e1f
Title: Provide switch to emit run status of a run
Status: Open Type: Feature_Request
Severity: Important Priority:
Subsystem: Resolution:
Last Modified: 2015-09-23 14:37:26
Version Found In:
User Comments:
bjbarcla added on 2015-09-23 20:37:26:
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