diff options
author | Vratko Polak <vrpolak@cisco.com> | 2020-01-02 15:30:09 +0100 |
---|---|---|
committer | Jan Gelety <jgelety@cisco.com> | 2020-01-10 16:52:31 +0100 |
commit | e916ab4db7dec2cc0bb21dcc31460f819d68b0d5 (patch) | |
tree | 1f26ed2276c7cad77ef8e7a727c87017b2d14318 /resources/libraries/python/Constants.py | |
parent | b55e324d526e5b05baef015c3614b9743c955992 (diff) |
Support suite tags in autogen
+ Include a script to add suite tags to many suites at once.
+ Add suite tags also to device tests (not covered by autogen).
Change-Id: I514ee6178e22999b43460028fe2696738b012f04
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
Diffstat (limited to 'resources/libraries/python/Constants.py')
-rw-r--r-- | resources/libraries/python/Constants.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/resources/libraries/python/Constants.py b/resources/libraries/python/Constants.py index 0e06857472..1b4d44c636 100644 --- a/resources/libraries/python/Constants.py +++ b/resources/libraries/python/Constants.py @@ -303,6 +303,14 @@ class Constants: u"rdma-core": u"rdma-", } + # Some identifiers constructed from suite names + # have to be independent of NIC driver used. + # In order to remove or reject the NIC driver part, + # it is useful to have a list of such prefixes precomputed. + FORBIDDEN_SUITE_PREFIX_LIST = [ + prefix for prefix in NIC_DRIVER_TO_SUITE_PREFIX.values() if prefix + ] + # Additional step for perf needs to know driver type. # Contains part of suite setup line, matching both single and double link. NIC_DRIVER_TO_SETUP_ARG = { |