Skip to content

Commit

Permalink
test: remove android and dotnet env
Browse files Browse the repository at this point in the history
Signed-off-by: Zxilly <[email protected]>
  • Loading branch information
Zxilly committed Jun 17, 2024
1 parent f46b1eb commit de09d20
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions scripts/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand All @@ -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"

Expand Down

0 comments on commit de09d20

Please sign in to comment.