diff options
Diffstat (limited to 'tools')
-rw-r--r-- | tools/target_test.py | 5 | ||||
-rwxr-xr-x | tools/unit_tests.py | 2 |
2 files changed, 5 insertions, 2 deletions
diff --git a/tools/target_test.py b/tools/target_test.py index 58c5d43c7..6ff3c11e8 100644 --- a/tools/target_test.py +++ b/tools/target_test.py @@ -55,7 +55,10 @@ class TestTarget(DenoTestCase): assert result.out.strip() == "noColor false" def test_exec_path(self): - cmd = [self.deno_exe, "run", "--allow-run", "tests/exec_path.ts"] + cmd = [ + self.deno_exe, "run", "--allow-run", "--allow-env", + "tests/exec_path.ts" + ] result = run_output(cmd, quiet=True) print "exec_path", result.code print result.out diff --git a/tools/unit_tests.py b/tools/unit_tests.py index f8cd1af64..859afcea3 100755 --- a/tools/unit_tests.py +++ b/tools/unit_tests.py @@ -10,7 +10,7 @@ from test_util import DenoTestCase, run_tests class JsUnitTests(DenoTestCase): def test_unit_test_runner(self): cmd = [ - self.deno_exe, "run", "--reload", "--allow-run", + self.deno_exe, "run", "--reload", "--allow-run", "--allow-env", "js/unit_test_runner.ts" ] process = subprocess.Popen( |