From f9a758970a25fb31a48ec67a380a8486303fe859 Mon Sep 17 00:00:00 2001 From: Hood Chatham Date: Tue, 22 Jul 2025 16:24:48 +0200 Subject: [PATCH 1/2] Emscripten: Add smoke test for using PyRepl in Chrome Depends on: https://github.com/python/cpython/pull/137004 --- master/custom/factories.py | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/master/custom/factories.py b/master/custom/factories.py index 3b77ee37..8068a748 100644 --- a/master/custom/factories.py +++ b/master/custom/factories.py @@ -1380,6 +1380,7 @@ def setup(self, **kwargs): env=compile_environ, ), Test( + name="Node full test suite", command=[ "cross-build/wasm32-emscripten/build/python/python.sh", "-m", "test", @@ -1392,6 +1393,16 @@ def setup(self, **kwargs): env=compile_environ, timeout=step_timeout(self.test_timeout), ), + Test( + name="PyRepl in Chrome smoke test", + command=[ + "bash", + "run_test.sh", + ], + env=compile_environ, + timeout=step_timeout(self.test_timeout), + workdir="Tools/wasm/emscripten/browser_test", + ), Clean( name="Clean the builds", command=["python3", "Tools/wasm/emscripten", "clean"], From ba3acce6dbad7442d80edd68650c38fe68c533d5 Mon Sep 17 00:00:00 2001 From: Hood Chatham Date: Wed, 23 Jul 2025 10:28:58 +0200 Subject: [PATCH 2/2] Remove unnecessary bash invocation --- master/custom/factories.py | 1 - 1 file changed, 1 deletion(-) diff --git a/master/custom/factories.py b/master/custom/factories.py index 8068a748..a56f5eb5 100644 --- a/master/custom/factories.py +++ b/master/custom/factories.py @@ -1396,7 +1396,6 @@ def setup(self, **kwargs): Test( name="PyRepl in Chrome smoke test", command=[ - "bash", "run_test.sh", ], env=compile_environ,