From c8ec70946dbf1c7473c14b340b8232eb4c8176d7 Mon Sep 17 00:00:00 2001 From: Will Boyd Date: Wed, 21 Oct 2015 08:31:05 -0400 Subject: [PATCH] Removed print debug statements from test suite --- tests/run_tests.py | 2 -- tests/test_track_output/results_test.dat | 9 +++++++++ tests/testing_harness.py | 3 --- 3 files changed, 9 insertions(+), 5 deletions(-) create mode 100644 tests/test_track_output/results_test.dat diff --git a/tests/run_tests.py b/tests/run_tests.py index 1377c966c1..338732c142 100755 --- a/tests/run_tests.py +++ b/tests/run_tests.py @@ -470,8 +470,6 @@ for key in iter(tests): logfilename = os.path.splitext(logfilename)[0] logfilename = logfilename + '_{0}.log'.format(test.name) shutil.copy(logfile[0], logfilename) - print(logfilename) - with open(logfilename) as fh: print(fh.read()) # Clear build directory and remove binary and hdf5 files shutil.rmtree('build', ignore_errors=True) diff --git a/tests/test_track_output/results_test.dat b/tests/test_track_output/results_test.dat new file mode 100644 index 0000000000..6ded87a0ec --- /dev/null +++ b/tests/test_track_output/results_test.dat @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/tests/testing_harness.py b/tests/testing_harness.py index 79d884cf11..ed89f76946 100644 --- a/tests/testing_harness.py +++ b/tests/testing_harness.py @@ -320,9 +320,6 @@ class PyAPITestHarness(TestHarness): outstr = '\n'.join([open(fname).read() for fname in xmls if os.path.exists(fname)]) - if 'MGXSTestHarness' in str(type(self)): - print(outstr) - sha512 = hashlib.sha512() sha512.update(outstr.encode('utf-8')) outstr = sha512.hexdigest()