Skip to content

Commit de09d20

Browse files
committed
test: remove android and dotnet env
Signed-off-by: Zxilly <zxilly@outlook.com>
1 parent f46b1eb commit de09d20

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

scripts/tests.py

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,8 @@ def run_unit_tests(full: bool, wasm: bool, no_embed: bool):
102102
or k.startswith("STATS_")
103103
or k.startswith("RUNNER_")
104104
or k.startswith("LIBRARY_")
105+
or k.startswith("ANDROID_")
106+
or k.startswith("DOTNET")
105107
or k == "_OLD_VIRTUAL_PATH"
106108
):
107109
del env[raw]
@@ -119,15 +121,6 @@ def run_unit_tests(full: bool, wasm: bool, no_embed: bool):
119121
new_parts.append(part)
120122
env[raw] = ";".join(new_parts)
121123

122-
env_size = 0
123-
for k, v in env.items():
124-
env_size += len(k) + len(v) + 1
125-
if env_size > 4000: # windows use utf-16
126-
log("Environment size is too large")
127-
for k, v in env.items():
128-
print(f"{k}={v}")
129-
exit(1)
130-
131124
env["GOOS"] = "js"
132125
env["GOARCH"] = "wasm"
133126

0 commit comments

Comments
 (0)