mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 14:15:42 -04:00
Add pytest request path to location of cleanup files in cpp driver test
This commit is contained in:
parent
8a6dc7e9f8
commit
c943128587
1 changed files with 2 additions and 2 deletions
|
|
@ -48,8 +48,8 @@ def cpp_driver(request):
|
|||
|
||||
finally:
|
||||
# Remove local build directory when test is complete
|
||||
shutil.rmtree('build')
|
||||
os.remove('CMakeLists.txt')
|
||||
shutil.rmtree(request.node.path.parent / 'build')
|
||||
os.remove(request.node.path.parent / 'CMakeLists.txt')
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue