mirror of
https://github.com/OpenMW/openmw.git
synced 2025-03-29 03:36:40 +00:00
Keep generated files on integration tests failure
This commit is contained in:
parent
9006a8fad0
commit
eb6dc6e6b0
1 changed files with 3 additions and 2 deletions
|
@ -129,6 +129,7 @@ for entry in tests_dir.glob("test_*"):
|
||||||
if entry.is_dir():
|
if entry.is_dir():
|
||||||
if not runTest(entry.name):
|
if not runTest(entry.name):
|
||||||
status = -1
|
status = -1
|
||||||
|
if status == 0:
|
||||||
shutil.rmtree(config_dir, ignore_errors=True)
|
shutil.rmtree(config_dir, ignore_errors=True)
|
||||||
shutil.rmtree(userdata_dir, ignore_errors=True)
|
shutil.rmtree(userdata_dir, ignore_errors=True)
|
||||||
exit(status)
|
exit(status)
|
||||||
|
|
Loading…
Reference in a new issue