aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/lib.c
diff options
authorLuc Van Oostenryck <luc.vanoostenryck@gmail.com>2017-05-28 16:42:58 +0200
committerLuc Van Oostenryck <luc.vanoostenryck@gmail.com>2017-05-28 21:10:25 +0200
commit3d511f88d9d6bbc46ec15415bf29f89d51ee2b9c (patch)
tree7c1d1949a6a40b3153e9727339fd82d3fa7349f1 /lib.c
parent88578349140acf4405b768a60be05e10b7b8b158 (diff)
downloadsparse-dev-3d511f88d9d6bbc46ec15415bf29f89d51ee2b9c.tar.gz
testsuite: get all tags in once
The test cases contain annotations with the following: check-<tagname>[: <value>] These are extracted with grep & sed but this is done separately for each tags which means that we need fork+exec two processes for each possible tags. Change this by trying to get all the tag+value in once by storing the result in a variables instead of doing the grep & sed thing at each time we need to check the tag. This speedup the testsuite by around 30% for me. Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
Diffstat (limited to 'lib.c')
0 files changed, 0 insertions, 0 deletions