summaryrefslogtreecommitdiff
path: root/numpy/distutils/command/config.py
diff options
context:
space:
mode:
authorArnaud Bergeron <abergeron@gmail.com>2014-02-27 14:04:36 -0500
committerArnaud Bergeron <abergeron@gmail.com>2014-02-27 14:08:51 -0500
commitc2afa6213880733ee705aa847755b539ca62fb73 (patch)
tree5e5960af8df4e340804e2e61b7f45cc8356275d9 /numpy/distutils/command/config.py
parent8c4d9bedd9d85d86c41f956cdb5140e112c2ac08 (diff)
downloadnumpy-c2afa6213880733ee705aa847755b539ca62fb73.tar.gz
ENH: Make output of get_atlas_info conditional on system_info.verbosity
Diffstat (limited to 'numpy/distutils/command/config.py')
-rw-r--r--numpy/distutils/command/config.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/numpy/distutils/command/config.py b/numpy/distutils/command/config.py
index 5d363eb4e..cadcc1dde 100644
--- a/numpy/distutils/command/config.py
+++ b/numpy/distutils/command/config.py
@@ -401,7 +401,7 @@ int main ()
def get_output(self, body, headers=None, include_dirs=None,
libraries=None, library_dirs=None,
- lang="c"):
+ lang="c", use_tee=None):
"""Try to compile, link to an executable, and run a program
built from 'body' and 'headers'. Returns the exit status code
of the program and its output.
@@ -426,7 +426,8 @@ int main ()
grabber.restore()
raise
exe = os.path.join('.', exe)
- exitstatus, output = exec_command(exe, execute_in='.')
+ exitstatus, output = exec_command(exe, execute_in='.',
+ use_tee=use_tee)
if hasattr(os, 'WEXITSTATUS'):
exitcode = os.WEXITSTATUS(exitstatus)
if os.WIFSIGNALED(exitstatus):