File tree Expand file tree Collapse file tree 3 files changed +21
-4
lines changed Expand file tree Collapse file tree 3 files changed +21
-4
lines changed Original file line number Diff line number Diff line change @@ -84,6 +84,17 @@ make a node application that "embeds" the interpreter instead of acting like the
8484CLI you will need to write your own alternative to ` node_entry.mjs ` .
8585
8686
87+ ### Running tests
88+
89+ After building, you can run the full test suite with:
90+ ``` shell
91+ ./cross-build/wasm32-emscripten/build/python/python.sh -m test -uall
92+ ```
93+ You can run the browser smoke test with:
94+ ``` shell
95+ ./Tools/wasm/emscripten/browser_test/run_test.sh
96+ ```
97+
8798### The Web Example
8899
89100When building for Emscripten, the web example will be built automatically. It
Original file line number Diff line number Diff line change 11node_modules
22test-results
33playwright-report
4-
4+ test_log.txt
Original file line number Diff line number Diff line change 11#! /bin/bash
2- npm ci
3- npx playwright install
4- CI=1 npx playwright test
2+ set -euo pipefail
3+ cd " $( dirname " $0 " ) "
4+ rm -f test_log.txt
5+ echo " Installing node packages" | tee test_log.txt
6+ npm ci >> test_log.txt 2>&1
7+ echo " Installing playwright browsers" | tee test_log.txt
8+ npx playwright install 2>> test_log.txt
9+ echo " Running tests" | tee test_log.txt
10+ CI=1 npx playwright test | tee test_log.txt
You can’t perform that action at this time.
0 commit comments