summaryrefslogtreecommitdiff
path: root/tools/target_test.py
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2019-06-30 19:32:24 +0200
committerRyan Dahl <ry@tinyclouds.org>2019-06-30 13:32:24 -0400
commit9d18f97327e94ecf6fd0ae7b75a88abfeac07d7e (patch)
treed2583dd1d7c6da9e59a503dd7c3317cd2c6f7de6 /tools/target_test.py
parent1068b4848c4d6d9a444d2d2bca5f25d822c42ff5 (diff)
fix: normalize Deno.execPath (#2598)
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)