umockdev-tests: Don't fail when trying to save other errors
This commit is contained in:
parent
8112da0358
commit
6ca8441df9
1 changed files with 1 additions and 1 deletions
2
tests/umockdev-test.py
Executable file → Normal file
2
tests/umockdev-test.py
Executable file → Normal file
|
@ -90,7 +90,7 @@ try:
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
# Store created output files for inspection (in the build directory)
|
# Store created output files for inspection (in the build directory)
|
||||||
outdir = os.path.join('errors', os.path.basename(ddir))
|
outdir = os.path.join('errors', os.path.basename(ddir))
|
||||||
shutil.copytree(tmpdir, outdir)
|
shutil.copytree(tmpdir, outdir, dirs_exist_ok=True)
|
||||||
raise e
|
raise e
|
||||||
|
|
||||||
finally:
|
finally:
|
||||||
|
|
Loading…
Reference in a new issue