Commit 6ca8441d authored by Marco Trevisan's avatar Marco Trevisan Committed by Benjamin Berg
Browse files

umockdev-tests: Don't fail when trying to save other errors

parent 8112da03
......@@ -90,7 +90,7 @@ try:
except Exception as e:
# Store created output files for inspection (in the build directory)
outdir = os.path.join('errors', os.path.basename(ddir))
shutil.copytree(tmpdir, outdir)
shutil.copytree(tmpdir, outdir, dirs_exist_ok=True)
raise e
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment