From de09d207da04eb2633ec34a564e215946b069057 Mon Sep 17 00:00:00 2001 From: Zxilly Date: Mon, 17 Jun 2024 19:08:47 +0800 Subject: [PATCH] test: remove android and dotnet env Signed-off-by: Zxilly --- scripts/tests.py | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/scripts/tests.py b/scripts/tests.py index 65d0c8145b..40c8764a8c 100644 --- a/scripts/tests.py +++ b/scripts/tests.py @@ -102,6 +102,8 @@ def run_unit_tests(full: bool, wasm: bool, no_embed: bool): or k.startswith("STATS_") or k.startswith("RUNNER_") or k.startswith("LIBRARY_") + or k.startswith("ANDROID_") + or k.startswith("DOTNET") or k == "_OLD_VIRTUAL_PATH" ): del env[raw] @@ -119,15 +121,6 @@ def run_unit_tests(full: bool, wasm: bool, no_embed: bool): new_parts.append(part) env[raw] = ";".join(new_parts) - env_size = 0 - for k, v in env.items(): - env_size += len(k) + len(v) + 1 - if env_size > 4000: # windows use utf-16 - log("Environment size is too large") - for k, v in env.items(): - print(f"{k}={v}") - exit(1) - env["GOOS"] = "js" env["GOARCH"] = "wasm"