testsuite: get all tags in once
commit3d511f88d9d6bbc46ec15415bf29f89d51ee2b9c
authorLuc Van Oostenryck <luc.vanoostenryck@gmail.com>
Sun, 28 May 2017 14:42:58 +0000 (28 16:42 +0200)
committerLuc Van Oostenryck <luc.vanoostenryck@gmail.com>
Sun, 28 May 2017 19:10:25 +0000 (28 21:10 +0200)
tree7c1d1949a6a40b3153e9727339fd82d3fa7349f1
parent88578349140acf4405b768a60be05e10b7b8b158
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>
validation/test-suite