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/setup.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/setup.py')
-rwxr-xr-x | tools/setup.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/setup.py b/tools/setup.py index 6060ce8f1..9f5059358 100755 --- a/tools/setup.py +++ b/tools/setup.py @@ -1,8 +1,8 @@ #!/usr/bin/env python # Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import third_party -from util import build_mode, build_path, enable_ansi_colors, root_path, run -from util import shell_quote, run_output +from util import (build_mode, build_path, enable_ansi_colors, root_path, run, + shell_quote) import os import re import sys |