jenkins junit interprets dots as subclasses, so remove the dots in filenames

master
Marc Wäckerlin 9 years ago
parent 979edb87ce
commit d96747807a
  1. 6
      src/commands.hxx

@ -602,7 +602,11 @@ class Script: public QObject {
xml::Node testcase("testcase");
try {
testcase.attr("classname") =
xmlattr(_testclass.size()?_testclass:"file: "+(*cmd)->file(), true)
xmlattr(_testclass.size()
?_testclass
:"file."+(*cmd)->file()
.replace(QRegularExpression(".wt$"), "")
.replace(".", "-"), true)
.toStdString();
testcase.attr("name") =
xmlattr(QString("%1: %2")

Loading…
Cancel
Save