Skip to content

Commit ac204f8

Browse files
committed
Ignore cmdline args passed to the test suite
1 parent 7a819a3 commit ac204f8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/framework/utilities.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -480,6 +480,8 @@ def init_config(args=None, build_options=None, with_include=True, clear_caches=T
480480

481481
cleanup(clear_caches=clear_caches)
482482

483+
if args is None:
484+
args = [] # Ignore cmdline args as those are meant for the unittest framework
483485
# initialize configuration so config.get_modules_tool function works
484486
eb_go = eboptions.parse_options(args=args, with_include=with_include)
485487
config.init(eb_go.options, eb_go.get_options_by_section('config'))

0 commit comments

Comments
 (0)