summaryrefslogtreecommitdiff
path: root/tools/target_test.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/target_test.py')
-rw-r--r--tools/target_test.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/target_test.py b/tools/target_test.py
index 98eb4a0eb..58c5d43c7 100644
--- a/tools/target_test.py
+++ b/tools/target_test.py
@@ -55,8 +55,11 @@ class TestTarget(DenoTestCase):
assert result.out.strip() == "noColor false"
def test_exec_path(self):
- cmd = [self.deno_exe, "run", "tests/exec_path.ts"]
+ cmd = [self.deno_exe, "run", "--allow-run", "tests/exec_path.ts"]
result = run_output(cmd, quiet=True)
+ print "exec_path", result.code
+ print result.out
+ print result.err
assert self.deno_exe in result.out.strip()
self.assertEqual(result.code, 0)