diff options
author | Andy Hayden <andyhayden1@gmail.com> | 2019-06-08 04:46:57 -0700 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2019-06-08 07:46:57 -0400 |
commit | 5960e398ecab914effec821cc6da5f3a091fdb50 (patch) | |
tree | bb12c155ef59b725dcc0d7a32b757e47718cdaa1 /tools/test.py | |
parent | 4ea2df6759abf3a99e07fe720987805075c8a18b (diff) |
make tests quieter (#2468)
Don't mix every http request in with the tests output.
Don't print that the file servers are starting unless
-vv flag is passed.
Capture the output of run with run_output which returns
stdout, stderr and exit_code. Test against this rather
than relying on sys.exit.
Diffstat (limited to 'tools/test.py')
-rwxr-xr-x | tools/test.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tools/test.py b/tools/test.py index ad45f186a..262a05f1f 100755 --- a/tools/test.py +++ b/tools/test.py @@ -6,8 +6,8 @@ import os from benchmark_test import TestBenchmark from deno_dir_test import TestDenoDir -from fetch_test import FetchTest -from fmt_test import FmtTest +from fetch_test import TestFetch +from fmt_test import TestFmt from integration_tests import TestIntegrations from repl_test import TestRepl from setup_test import TestSetup @@ -21,7 +21,7 @@ from complex_permissions_test import complex_permissions_tests import http_server from util import (enable_ansi_colors, build_path, RESET, FG_RED, FG_GREEN, - executable_suffix, run, run_output, rmtree, tests_path) + executable_suffix, rmtree, tests_path) from test_util import parse_test_args, run_tests @@ -40,8 +40,8 @@ def main(): TestUtil, TestTarget, JsUnitTests, - FetchTest, - FmtTest, + TestFetch, + TestFmt, TestIntegrations, TestRepl, TestDenoDir, |