mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-27 21:55:41 -04:00
Fixed most failing tests, ce_to_mg is next
This commit is contained in:
parent
1625927b44
commit
88abdfb5ce
4 changed files with 2 additions and 2 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -50,6 +50,7 @@ tests/ctestscript.run
|
|||
|
||||
# HDF5 files
|
||||
*.h5
|
||||
!tests/1d_mgxs.h5
|
||||
|
||||
# Build files
|
||||
src/CMakeCache.txt
|
||||
|
|
|
|||
BIN
tests/1d_mgxs.h5
Normal file
BIN
tests/1d_mgxs.h5
Normal file
Binary file not shown.
|
|
@ -117,7 +117,7 @@ def cleanup(path):
|
|||
for dirpath, dirnames, filenames in os.walk(path):
|
||||
for fname in filenames:
|
||||
for ext in ['.h5', '.ppm', '.voxel']:
|
||||
if fname.endswith(ext):
|
||||
if fname.endswith(ext) and fname != '1d_mgxs.h5':
|
||||
os.remove(os.path.join(dirpath, fname))
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -83,7 +83,6 @@ class MGXSTestHarness(PyAPITestHarness):
|
|||
returncode = openmc.run(openmc_exec=self._opts.exe)
|
||||
|
||||
def _cleanup(self):
|
||||
return
|
||||
super(MGXSTestHarness, self)._cleanup()
|
||||
f = os.path.join(os.getcwd(), 'mgxs.h5')
|
||||
if os.path.exists(f):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue