diff options
author | Aaron Power <theaaronepower@gmail.com> | 2018-08-31 12:51:12 +0100 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2018-08-31 13:18:24 -0400 |
commit | f131445a46555f1634aecae0fc1d4979b4cefa6d (patch) | |
tree | fb9847c7f1b6aebc98bc8ef788366dd90b3f9b12 /tools/unit_tests.py | |
parent | 45dafe15ee87b34d0c3c9b4bc72905c176514051 (diff) |
Implemented deno.env and refactored flags.rs
Diffstat (limited to 'tools/unit_tests.py')
-rwxr-xr-x | tools/unit_tests.py | 12 |
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", ]) |