summaryrefslogtreecommitdiff
path: root/tools/unit_tests.py
diff options
context:
space:
mode:
authorAaron Power <theaaronepower@gmail.com>2018-08-31 12:51:12 +0100
committerRyan Dahl <ry@tinyclouds.org>2018-08-31 13:18:24 -0400
commitf131445a46555f1634aecae0fc1d4979b4cefa6d (patch)
treefb9847c7f1b6aebc98bc8ef788366dd90b3f9b12 /tools/unit_tests.py
parent45dafe15ee87b34d0c3c9b4bc72905c176514051 (diff)
Implemented deno.env and refactored flags.rs
Diffstat (limited to 'tools/unit_tests.py')
-rwxr-xr-xtools/unit_tests.py12
1 files changed, 7 insertions, 5 deletions
diff --git a/tools/unit_tests.py b/tools/unit_tests.py
index a2cfa33b6..460d32bc2 100755
--- a/tools/unit_tests.py
+++ b/tools/unit_tests.py
@@ -10,12 +10,14 @@ import sys
# tests by the special string. permW0N0 means allow-write but not allow-net.
# See js/test_util.ts for more details.
def unit_tests(deno_exe):
- run([deno_exe, "js/unit_tests.ts", "permW0N0"])
- run([deno_exe, "js/unit_tests.ts", "permW1N0", "--allow-write"])
- run([deno_exe, "js/unit_tests.ts", "permW0N1", "--allow-net"])
+ run([deno_exe, "js/unit_tests.ts", "permW0N0E0"])
+ run([deno_exe, "js/unit_tests.ts", "permW1N0E0", "--allow-write"])
+ run([deno_exe, "js/unit_tests.ts", "permW0N1E0", "--allow-net"])
+ run([deno_exe, "js/unit_tests.ts", "permW0N0E1", "--allow-env"])
run([
- deno_exe, "js/unit_tests.ts", "permW1N1", "--allow-write",
- "--allow-net"
+ deno_exe, "js/unit_tests.ts", "permW1N1E1", "--allow-write",
+ "--allow-net",
+ "--allow-env",
])