Commit 8112da03 authored by Marco Trevisan's avatar Marco Trevisan Committed by Benjamin Berg
Browse files

umockdev-tests: Still raise an error when storing the exception output

Otherwise we won't ever fail
parent f2ea3e78
......@@ -87,10 +87,11 @@ try:
if os.path.exists(os.path.join(ddir, "custom.ioctl")):
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)
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