diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2019-09-19 14:48:05 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-19 14:48:05 -0400 |
commit | 56ac638d93c96712d6c624e60dcfa4540d334b18 (patch) | |
tree | b3b5b985cc5be83545d8883207ee614f23627ef8 /tools/unit_tests.py | |
parent | 1b1ae65a4a2acd55ead86c17e388f10a0e08938d (diff) |
Remove test.py, use cargo test as test frontend (#2967)
Fixes #2933
Diffstat (limited to 'tools/unit_tests.py')
-rwxr-xr-x | tools/unit_tests.py | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/tools/unit_tests.py b/tools/unit_tests.py deleted file mode 100755 index 859afcea3..000000000 --- a/tools/unit_tests.py +++ /dev/null @@ -1,28 +0,0 @@ -#!/usr/bin/env python -# Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. -import sys -import subprocess - -import http_server -from test_util import DenoTestCase, run_tests - - -class JsUnitTests(DenoTestCase): - def test_unit_test_runner(self): - cmd = [ - self.deno_exe, "run", "--reload", "--allow-run", "--allow-env", - "js/unit_test_runner.ts" - ] - process = subprocess.Popen( - cmd, bufsize=1, universal_newlines=True, stderr=subprocess.STDOUT) - - process.wait() - errcode = process.returncode - if errcode != 0: - raise AssertionError( - "js/unit_test_runner.ts exited with exit code %s" % errcode) - - -if __name__ == '__main__': - with http_server.spawn(): - run_tests() |