utility for run_all_test script

This commit is contained in:
rhoerbe
2014-07-10 16:53:08 +02:00
parent dbcb0733a5
commit 23fa383127

10
script/filter_testcase_ids.py Executable file
View File

@@ -0,0 +1,10 @@
#!/usr/bin/env python
# extract test case IDs from json-formatted list (`sp_testdrv.py -l` or `idp_testdrv.py -l`)
# usage:
# sp_testdrv.py -l | filter_testcase_ids.py
__author__ = 'rhoerbe'
import json, sys
jdata = json.load(sys.stdin)
for k in jdata:
print k["id"]