mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-09-01 19:02:31 +01:00
utils/types: toggle_set: add "~~" semantics
Add support for "~~" special value that indicates that, when merging into another set, all values from that set should in fact be dropped. Apart from the unique merge semantics, "~~" just like any other "~" value.
This commit is contained in:
committed by
Marc Bonnici
parent
9093477f1b
commit
aacba47f9a
@@ -957,6 +957,8 @@ class JobGenerator(object):
|
||||
|
||||
def disable_augmentations(self, augmentations):
|
||||
for entry in augmentations:
|
||||
if entry == '~~':
|
||||
continue
|
||||
if entry.startswith('~'):
|
||||
entry = entry[1:]
|
||||
try:
|
||||
|
Reference in New Issue
Block a user