Skip to content

Commit 2be147e

Browse files
authored
gh-146352: In Emscripten pyrepl test, pick port dynamically (#146375)
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.
1 parent 3364e7e commit 2be147e

File tree

7 files changed

+651
-27
lines changed

7 files changed

+651
-27
lines changed

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,3 +112,4 @@ Tools/peg_generator/pegen/grammar_parser.py generated
112112
aclocal.m4 generated
113113
configure generated
114114
*.min.js generated
115+
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)