summaryrefslogtreecommitdiff
path: root/script/filter_testcase_ids.py
blob: 675aefe5e927e0932795c63a26822a14834719c4 (plain)
1
2
3
4
5
6
7
8
9
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"])