Skip to content

Commit 498559a

Browse files
authored
[3.14] gh-146352: In Emscripten pyrepl test, pick port dynamically (GH-146375) (#146411)
Dynamically allocates the port for the pyrepl browser test, so that multiple tests can run at the same time. Also allows the pyrepl test to honor the CROSS_BUILD_DIR environment variable. (cherry picked from commit 2be147e)
1 parent 4f5f6ea commit 498559a

File tree

7 files changed

+652
-27
lines changed

7 files changed

+652
-27
lines changed

.gitattributes

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,3 +106,5 @@ Python/stdlib_module_names.h generated
106106
Tools/peg_generator/pegen/grammar_parser.py generated
107107
aclocal.m4 generated
108108
configure generated
109+
*.min.js generated
110+
package-lock.json generated

Platforms/emscripten/__main__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -820,6 +820,7 @@ def main():
820820
context = parser.parse_args()
821821
context.emsdk_cache = getattr(context, "emsdk_cache", None)
822822
context.cross_build_dir = getattr(context, "cross_build_dir", None)
823+
context.check_up_to_date = getattr(context, "check_up_to_date", False)
823824

824825
if context.emsdk_cache:
825826
context.emsdk_cache = Path(context.emsdk_cache).absolute()

0 commit comments

Comments
 (0)