From a73483c091a69187b48a990f10164034f9429794 Mon Sep 17 00:00:00 2001 From: Russell Keith-Magee Date: Fri, 29 Aug 2025 15:33:09 +0800 Subject: [PATCH 1/3] Correct the working directory for Emscripten PyRepl tests. --- master/custom/factories.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/master/custom/factories.py b/master/custom/factories.py index c8700383..e78295a5 100644 --- a/master/custom/factories.py +++ b/master/custom/factories.py @@ -1396,11 +1396,11 @@ def setup(self, **kwargs): Test( name="PyRepl in Chrome smoke test", command=[ - "./run_test.sh", + "run_test.sh", ], env=compile_environ, timeout=step_timeout(self.test_timeout), - workdir="Tools/wasm/emscripten/browser_test", + workdir="build/Tools/wasm/emscripten/browser_test", ), Clean( name="Clean the builds", From 92821eed188725e6fa1db867c001547c0ca11cff Mon Sep 17 00:00:00 2001 From: Petr Viktorin Date: Fri, 29 Aug 2025 12:58:23 +0200 Subject: [PATCH 2/3] Revert previous commit --- master/custom/factories.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/master/custom/factories.py b/master/custom/factories.py index e78295a5..c8700383 100644 --- a/master/custom/factories.py +++ b/master/custom/factories.py @@ -1396,11 +1396,11 @@ def setup(self, **kwargs): Test( name="PyRepl in Chrome smoke test", command=[ - "run_test.sh", + "./run_test.sh", ], env=compile_environ, timeout=step_timeout(self.test_timeout), - workdir="build/Tools/wasm/emscripten/browser_test", + workdir="Tools/wasm/emscripten/browser_test", ), Clean( name="Clean the builds", From 70e3dd4804cddc03cb79145fa7fcd61ea4ac209b Mon Sep 17 00:00:00 2001 From: Petr Viktorin Date: Fri, 29 Aug 2025 12:58:54 +0200 Subject: [PATCH 3/3] Apply tested diff --- master/custom/factories.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/master/custom/factories.py b/master/custom/factories.py index c8700383..e8ef15d7 100644 --- a/master/custom/factories.py +++ b/master/custom/factories.py @@ -1396,11 +1396,10 @@ def setup(self, **kwargs): Test( name="PyRepl in Chrome smoke test", command=[ - "./run_test.sh", + "Tools/wasm/emscripten/browser_test/run_test.sh", ], env=compile_environ, timeout=step_timeout(self.test_timeout), - workdir="Tools/wasm/emscripten/browser_test", ), Clean( name="Clean the builds",