Commit ce7ab586 authored by Dan Villiom Podlaski Christiansen's avatar Dan Villiom Podlaski Christiansen
Browse files

tests: use outputdir for relative filenames to xunit reports

I couldn't find these anywhere in a CI run.
parent 8fc814bc9ec6
Pipeline #16461 failed with stages
in 28 minutes and 16 seconds
......@@ -2604,7 +2604,11 @@ class TextTestRunner(unittest.TextTestRunner):
if self._runner.options.xunit:
with open(self._runner.options.xunit, "wb") as xuf:
xunitpath = os.path.join(
with open(xunitpath, "wb") as xuf:
self._writexunit(self._result, xuf)
if self._runner.options.json:
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