summaryrefslogtreecommitdiff
path: root/tools/setup.py
diff options
context:
space:
mode:
authorAndy Hayden <andyhayden1@gmail.com>2019-06-08 04:46:57 -0700
committerRyan Dahl <ry@tinyclouds.org>2019-06-08 07:46:57 -0400
commit5960e398ecab914effec821cc6da5f3a091fdb50 (patch)
treebb12c155ef59b725dcc0d7a32b757e47718cdaa1 /tools/setup.py
parent4ea2df6759abf3a99e07fe720987805075c8a18b (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-xtools/setup.py4
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