Skip to content

Commit

Permalink
Keep build output on failed build during testing. mom-ocean#328
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicholas Hannah committed Nov 17, 2016
1 parent f654337 commit f96bd92
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tools/tests/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ def build_model(self, compiler='gnu', build='REPRO', memory_type='dynamic'):
output = sp.check_output(command, stderr=sp.STDOUT, shell=True)
except sp.CalledProcessError as e:
ret = e.returncode
output = e.output
print(e.output, file=sys.stderr)
finally:
os.chdir(saved_path)
Expand Down

0 comments on commit f96bd92

Please sign in to comment.