Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit c98d159

Browse filesBrowse files
stefanmbmhdawson
authored andcommitted
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>
1 parent 8872840 commit c98d159
Copy full SHA for c98d159

File tree

Expand file treeCollapse file tree

1 file changed

+4
-1
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+4
-1
lines changed
Open diff view settings
Collapse file

‎tools/test.py‎

Copy file name to clipboardExpand all lines: tools/test.py
+4-1Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -709,7 +709,10 @@ def GetConfiguration(self, context):
709709
(file, pathname, description) = imp.find_module('testcfg', [ self.path ])
710710
module = imp.load_module('testcfg', file, pathname, description)
711711
self.config = module.GetConfiguration(context, self.path)
712-
self.config.additional_flags = context.node_args
712+
if hasattr(self.config, 'additional_flags'):
713+
self.config.additional_flags += context.node_args
714+
else:
715+
self.config.additional_flags = context.node_args
713716
finally:
714717
if file:
715718
file.close()

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.