Skip to content

Commit

Permalink
Ignore cmdline args passed to the test suite
Browse files Browse the repository at this point in the history
  • Loading branch information
Flamefire committed May 12, 2023
1 parent fcab3eb commit 798c139
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/framework/utilities.py
Original file line number Diff line number Diff line change
Expand Up @@ -469,6 +469,8 @@ def init_config(args=None, build_options=None, with_include=True, clear_caches=T

cleanup(clear_caches=clear_caches)

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

0 comments on commit 798c139

Please sign in to comment.