From 5960e398ecab914effec821cc6da5f3a091fdb50 Mon Sep 17 00:00:00 2001 From: Andy Hayden Date: Sat, 8 Jun 2019 04:46:57 -0700 Subject: 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. --- tools/test.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'tools/test.py') 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, -- cgit v1.2.3