run: python3 Platforms/emscripten configure-host --host-runner node -- --config-cache
- name: "Make host Python"
run: python3 Platforms/emscripten make-host
+ - name: "Display build info"
+ run: python3 Platforms/emscripten run --pythoninfo
- name: "Test"
run: python3 Platforms/emscripten run --test
if context.test:
args = load_config_toml()["test-args"] + args
+ elif context.pythoninfo:
+ args = load_config_toml()["pythoninfo-args"] + args
os.execv(str(exec_script), [str(exec_script), *args])
action="store_true",
default=False,
help=(
- "If passed, will add the default test arguments to the beginning of the command. "
+ "Add the default test arguments to the beginning of the command. "
"Default arguments loaded from Platforms/emscripten/config.toml"
),
)
+ run.add_argument(
+ "--pythoninfo",
+ action="store_true",
+ default=False,
+ help="Run -m test.pythoninfo",
+ )
run.add_argument(
"args",
nargs=argparse.REMAINDER,