diff --git a/tools/test.py b/tools/test.py index 8ba5ef6aafa635..d45b4f0de94275 100755 --- a/tools/test.py +++ b/tools/test.py @@ -817,6 +817,10 @@ def GetConfiguration(self, context): (file, pathname, description) = imp.find_module('testcfg', [ self.path ]) module = imp.load_module('testcfg', file, pathname, description) self.config = module.GetConfiguration(context, self.path) + if hasattr(self.config, 'additional_flags'): + self.config.additional_flags += context.node_args + else: + self.config.additional_flags = context.node_args finally: if file: file.close()