jenkins junit plugin gojne crazy: classname must not be a file but either a directory or not exist

master
Marc Wäckerlin 8 years ago
parent 5e4443478d
commit f828cffd5b
  1. 3
      src/commands.hxx

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

Loading…
Cancel
Save