Commit 6aec2881 authored by Steffen Müthing's avatar Steffen Müthing

[!632] [testing] Fix stupid bugs in dune-ctest

Merge branch 'bugfix/fix-bugs-in-dune-ctest' into 'master'

See merge request [!632]

  [!632]: Nonecore/dune-common/merge_requests/632
parents 92dbb25e 5a93a408
Pipeline #16596 passed with stage
in 13 minutes and 33 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