Skip to content

Commit bca78f3

Browse files
committed
pythongh-95853: Multiple ops and debug for wasm_build.py
- `wasm_build.py` now supports multiple operations. - only `build` (default) performs auto-building - new ops `configure` and `compile`. - better help - `repl` starts `wasm_webserver` and opens browser repl - `test` and `hostrunnertest` now support custom testopts
1 parent cd0ff9b commit bca78f3

File tree

2 files changed

+194
-66
lines changed

2 files changed

+194
-66
lines changed

Makefile.pre.in

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1718,6 +1718,10 @@ buildbottest: all
17181718
fi
17191719
$(TESTRUNNER) -j 1 -u all -W --slowest --fail-env-changed --timeout=$(TESTTIMEOUT) $(TESTOPTS)
17201720

1721+
# Like testall, but directly run Python tests with HOSTRUNNER
1722+
hostrunnertest: all
1723+
$(RUNSHARED) $(HOSTRUNNER) ./$(BUILDPYTHON) -m test -u all $(TESTOPTS)
1724+
17211725
pythoninfo: all
17221726
$(RUNSHARED) $(HOSTRUNNER) ./$(BUILDPYTHON) -m test.pythoninfo
17231727

0 commit comments

Comments
 (0)