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.py17
1 files changed, 0 insertions, 17 deletions
diff --git a/tools/target_test.py b/tools/target_test.py
index 192f4183a..690ae2dc9 100644
--- a/tools/target_test.py
+++ b/tools/target_test.py
@@ -31,23 +31,6 @@ class TestTarget(DenoTestCase):
result = run_output([self.deno_exe, "run", t], quiet=True)
assert result.out.strip() == "noColor false"
- def test_exec_path(self):
- cmd = [
- self.deno_exe, "run", "--allow-run", "--allow-env",
- "cli/tests/exec_path.ts"
- ]
- result = run_output(cmd, quiet=True)
- print "exec_path", result
- self.assertEqual(result.code, 0)
- if os.name == "nt":
- # When running in github actions, the windows drive letter of the
- # executable path reported by deno has a different case than the one
- # reported by python.
- assert self.deno_exe.upper() in result.out.strip().upper()
- assert self.deno_exe[1:] in result.out.strip()
- else:
- assert self.deno_exe in result.out.strip()
-
if __name__ == "__main__":
run_tests()