Skip to content

Commit 7c9b97a

Browse files
authored
Fix EMTEST_SAVE_DIR warning (#18296)
Fixes: #18276
1 parent c93b3a1 commit 7c9b97a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test/runner.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -355,6 +355,10 @@ def configure():
355355
assert 'PARALLEL_SUITE_EMCC_CORES' not in os.environ, 'use EMTEST_CORES rather than PARALLEL_SUITE_EMCC_CORES'
356356
parallel_testsuite.NUM_CORES = os.environ.get('EMTEST_CORES') or os.environ.get('EMCC_CORES')
357357

358+
359+
def main(args):
360+
options = parse_args(args)
361+
358362
# Some options make sense being set in the environment, others not-so-much.
359363
# TODO(sbc): eventually just make these command-line only.
360364
if os.getenv('EMTEST_SAVE_DIR'):
@@ -364,10 +368,6 @@ def configure():
364368
if os.getenv('EMTEST_VERBOSE'):
365369
print('Prefer --verbose over setting $EMTEST_VERBOSE')
366370

367-
368-
def main(args):
369-
options = parse_args(args)
370-
371371
# We set the environments variables here and then call configure,
372372
# to apply them. This means the python's multiprocessing child
373373
# process will see the same configuration even though they don't

0 commit comments

Comments
 (0)