summaryrefslogtreecommitdiff
path: root/runtests.py
diff options
context:
space:
mode:
authormattip <matti.picus@gmail.com>2019-09-15 10:20:38 +0300
committermattip <matti.picus@gmail.com>2019-09-20 09:34:47 +0300
commit9852340606cf5f0e23cca8107e2bce61f022bc4e (patch)
tree54b2a6311c1659ebc60b69147186f0fbf657d10c /runtests.py
parent3096f1ab91b97214c5b0b91d0bd21b56206fc372 (diff)
downloadnumpy-9852340606cf5f0e23cca8107e2bce61f022bc4e.tar.gz
BUILD: add --debug-configure option to reduce output, use logger more
Diffstat (limited to 'runtests.py')
-rwxr-xr-xruntests.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/runtests.py b/runtests.py
index 23245aeac..dbc6fd1ab 100755
--- a/runtests.py
+++ b/runtests.py
@@ -67,6 +67,8 @@ def main(argv):
parser = ArgumentParser(usage=__doc__.lstrip())
parser.add_argument("--verbose", "-v", action="count", default=1,
help="more verbosity")
+ parser.add_argument("--debug_configure", action="store_true",
+ help="show all compiler output during system configuration")
parser.add_argument("--no-build", "-n", action="store_true", default=False,
help="do not build the project (use system installed version)")
parser.add_argument("--build-only", "-b", action="store_true", default=False,
@@ -366,6 +368,8 @@ def build_project(args):
cmd += ["build"]
if args.parallel > 1:
cmd += ["-j", str(args.parallel)]
+ if args.debug_configure:
+ cmd += ["--debug_configure"]
# Install; avoid producing eggs so numpy can be imported from dst_dir.
cmd += ['install', '--prefix=' + dst_dir,
'--single-version-externally-managed',