mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-27 21:55:41 -04:00
Removed print debug statements from test suite
This commit is contained in:
parent
b92aaf5d10
commit
c8ec70946d
3 changed files with 9 additions and 5 deletions
|
|
@ -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)
|
||||
|
|
|
|||
9
tests/test_track_output/results_test.dat
Normal file
9
tests/test_track_output/results_test.dat
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
<?xml version="1.0"?>
|
||||
<VTKFile type="PPolyData" version="0.1" byte_order="LittleEndian" compressor="vtkZLibDataCompressor">
|
||||
<PPolyData GhostLevel="0">
|
||||
<PPoints>
|
||||
<PDataArray type="Float32" Name="Points" NumberOfComponents="3"/>
|
||||
</PPoints>
|
||||
<Piece Source="poly_0.vtp"/>
|
||||
</PPolyData>
|
||||
</VTKFile>
|
||||
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue