Skip to content
Permalink
Browse files

test: fix test runner arg regression

Append --node-args to existing list, don't overwrite arg list.

Fixes: #5442
PR-URL: #5446
Reviewed-By: Ben Noorhduis <info@bnoordhuis.nl>
Reviewed-by: Michael Dawson <michael_dawson@ca.ibm.com>
  • Loading branch information...
stefanmb authored and rvagg committed Feb 26, 2016
1 parent 8c67b94 commit 22bb7c9d27fe495f3d346967a45dc3d226ff7056
Showing with 4 additions and 1 deletion.
  1. +4 −1 tools/test.py
@@ -709,7 +709,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)
self.config.additional_flags = context.node_args
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()

0 comments on commit 22bb7c9

Please sign in to comment.
You can’t perform that action at this time.