diff options
Diffstat (limited to 'tools/test.py')
-rwxr-xr-x | tools/test.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tools/test.py b/tools/test.py index 9e43dca3e..5d08e59d1 100755 --- a/tools/test.py +++ b/tools/test.py @@ -38,6 +38,12 @@ def test_no_color(deno_exe): print green_ok() +def exec_path_test(deno_exe): + cmd = [deno_exe, "tests/exec_path.ts"] + output = run_output(cmd) + assert deno_exe in output.strip() + + def main(argv): if len(argv) == 2: build_dir = sys.argv[1] @@ -59,6 +65,8 @@ def main(argv): deno_exe = os.path.join(build_dir, "deno" + executable_suffix) check_exists(deno_exe) + exec_path_test(deno_exe) + # Internal tools testing run([ "node", "./node_modules/.bin/ts-node", "--project", |