Restore text output in verbose mode.
This commit is contained in:
parent
5d690c9270
commit
1339714eec
1 changed files with 4 additions and 0 deletions
|
@ -89,6 +89,10 @@ def list_tests():
|
|||
def run(names, outputDir, verbose=False):
|
||||
"""Run tests with the supplied names. Names should be a list. If
|
||||
it's empty, run ALL of Spack's tests."""
|
||||
# Print output to stdout if verbose is 1.
|
||||
if verbose:
|
||||
os.environ['NOSE_NOCAPTURE'] = '1'
|
||||
|
||||
if not names:
|
||||
names = test_names
|
||||
else:
|
||||
|
|
Loading…
Reference in a new issue