Skip to content

Commit

Permalink
pythongh-95853: Multiple ops and debug for wasm_build.py
Browse files Browse the repository at this point in the history
- `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
  • Loading branch information
tiran committed Sep 6, 2022
1 parent cd0ff9b commit 105673f
Show file tree
Hide file tree
Showing 2 changed files with 194 additions and 66 deletions.
4 changes: 4 additions & 0 deletions Makefile.pre.in
Original file line number Diff line number Diff line change
Expand Up @@ -1718,6 +1718,10 @@ buildbottest: all
fi
$(TESTRUNNER) -j 1 -u all -W --slowest --fail-env-changed --timeout=$(TESTTIMEOUT) $(TESTOPTS)

# Like testall, but directly run Python tests with HOSTRUNNER
hostrunnertest: all
$(RUNSHARED) $(HOSTRUNNER) ./$(BUILDPYTHON) -m test -u all $(TESTOPTS)

pythoninfo: all
$(RUNSHARED) $(HOSTRUNNER) ./$(BUILDPYTHON) -m test.pythoninfo

Expand Down
Loading

0 comments on commit 105673f

Please sign in to comment.