Suggested command-line:

megatest -list-runs 2022.02.03.0931 -target foo/bar -dumpmode shell -fields target,runname,test_name,item_path,test [-status ABORT]

filters operate on tests


Suggested available fields (starred are default):
target        (Run)  *
runname       (Run)  *
test_name     (Test) *
item_path     (Test) *
state         (Test) *
status        (Test) *
rundir        (Test)
runtime       (Test)
step_name     (Step)
step_status   (Step)


Sample output:

% megatest -list-runs 2022.02.03.0931 -target foo/bar -dumpmode shell -fields target,runname,test_name,state,status,item_path
foo/bar 2022.02.03.0931 testA COMPLETED PASS
foo/bar 2022.02.03.0931 testB COMPLETED PASS
foo/bar 2022.02.03.0931 testB COMPLETED PASS item1
foo/bar 2022.02.03.0931 testB COMPLETED PASS item2


Alternate sample output:

Sample output:

% megatest -list-runs 2022.02.03.0931 -target foo/bar -dumpmode shell -fields target,runname,test_name,state,status,item_path
target=foo/bar;runname=2022.02.03.0931;test_name=testA;state=COMPLETED;status=PASS