mirror of
https://github.com/denoland/deno.git
synced 2025-01-08 15:19:40 -05:00
parent
e7741ab97f
commit
43aead854f
1 changed files with 11 additions and 4 deletions
|
@ -10,12 +10,19 @@ import sys
|
||||||
# tests by the special string. permW0N0 means allow-write but not allow-net.
|
# tests by the special string. permW0N0 means allow-write but not allow-net.
|
||||||
# See js/test_util.ts for more details.
|
# See js/test_util.ts for more details.
|
||||||
def unit_tests(deno_exe):
|
def unit_tests(deno_exe):
|
||||||
run([deno_exe, "js/unit_tests.ts", "permW0N0E0"])
|
run([deno_exe, "--reload", "js/unit_tests.ts", "permW0N0E0"])
|
||||||
run([deno_exe, "js/unit_tests.ts", "permW1N0E0", "--allow-write"])
|
run([
|
||||||
run([deno_exe, "js/unit_tests.ts", "permW0N1E0", "--allow-net"])
|
deno_exe, "--reload", "js/unit_tests.ts", "permW1N0E0", "--allow-write"
|
||||||
run([deno_exe, "js/unit_tests.ts", "permW0N0E1", "--allow-env"])
|
])
|
||||||
|
run([
|
||||||
|
deno_exe, "--reload", "js/unit_tests.ts", "permW0N1E0", "--allow-net"
|
||||||
|
])
|
||||||
|
run([
|
||||||
|
deno_exe, "--reload", "js/unit_tests.ts", "permW0N0E1", "--allow-env"
|
||||||
|
])
|
||||||
run([
|
run([
|
||||||
deno_exe,
|
deno_exe,
|
||||||
|
"--reload",
|
||||||
"js/unit_tests.ts",
|
"js/unit_tests.ts",
|
||||||
"permW1N1E1",
|
"permW1N1E1",
|
||||||
"--allow-write",
|
"--allow-write",
|
||||||
|
|
Loading…
Reference in a new issue