mirror of
https://gitlab.freedesktop.org/libfprint/libfprint.git
synced 2025-11-15 07:38:12 +00:00
umockdev-tests: Don't fail when trying to save other errors
This commit is contained in:
committed by
Benjamin Berg
parent
8112da0358
commit
6ca8441df9
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:
|
||||||
|
|||||||
Reference in New Issue
Block a user