Commit 603429bf authored by Steffen Müthing's avatar Steffen Müthing

[testing] Fix stupid bugs in dune-ctest

parent 92dbb25e
Pipeline #16592 failed with stage
in 13 minutes and 46 seconds
......@@ -131,8 +131,8 @@ class CTestParser:
self.printTest(test,output="Compilation error")
else:
error = et.SubElement(testcase,"error")
error.message("unknown error during test execution")
error.type("unknown")
error.set("message","unknown error during test execution")
error.set("type","unknown")
error.text = test.find("./Results/Measurement/Value").text
self.errors += 1
self.printTest(test)
......@@ -151,15 +151,15 @@ class CTestParser:
self.printTest(test,output="Compilation error")
else:
error = et.SubElement(testcase,"error")
error.message("unknown error during test execution")
error.type("unknown")
error.set("message"."unknown error during test execution")
error.set("type","unknown")
error.text = msg
self.errors += 1
self.printTest(test)
else:
error = et.SubElement(testcase,"error")
error.message("unknown error during test execution")
error.type("unknown")
error.set("message","unknown error during test execution")
error.set("type","unknown")
error.text = "no message"
self.errors += 1
self.printTest(test)
......
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