From f131445a46555f1634aecae0fc1d4979b4cefa6d Mon Sep 17 00:00:00 2001 From: Aaron Power Date: Fri, 31 Aug 2018 12:51:12 +0100 Subject: Implemented deno.env and refactored flags.rs --- tools/unit_tests.py | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'tools') 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", ]) -- cgit v1.2.3