mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 22:26:08 -04:00
Going back to default openmc run from the test_harness. Adjusting post-run tests (for now).
This commit is contained in:
parent
4ce6e0211e
commit
b7eb82b6be
1 changed files with 8 additions and 2 deletions
|
|
@ -316,5 +316,11 @@ class HashedPyAPITestHarness(PyAPITestHarness):
|
|||
|
||||
class CADTestHarness(TestHarness):
|
||||
|
||||
def _run_openmc(self):
|
||||
openmc.run(openmc_exec=config['exe'], threads = 1)
|
||||
def execute_test(self):
|
||||
"""Run OpenMC with the appropriate arguments and check the outputs."""
|
||||
try:
|
||||
self._run_openmc()
|
||||
self._test_output_created()
|
||||
finally:
|
||||
self._cleanup()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue