Improve test tag string parsing 33/23433/9
authorVratko Polak <vrpolak@cisco.com>
Fri, 15 Nov 2019 16:27:43 +0000 (17:27 +0100)
committerVratko Polak <vrpolak@cisco.com>
Mon, 18 Nov 2019 13:41:21 +0000 (13:41 +0000)
commit20cc67d5f23a7f4e05b08012bf3d3a63be4bcf63
tree875ab5ae4abe9be421bffa2befb5e312b78035e7
parent19330cec01d78b45b051ec0659d74d17339923b8
Improve test tag string parsing

Instead of just adding the missing -clx,
the new way aims to be forward compatible.

The new implementation is quite permissive,
ignoring all "word" chars sticking to the trigger word
and returning everything after that and space up to the endline.

+ Unified perftest and devicetest handling.
 + Consequently, triggers like "devicetest-1n-skx GBP" will work now.

Change-Id: I3bda6105195180d35a589a75318f569e36f03461
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
resources/libraries/bash/function/common.sh