filter special ascii commands from output, otherwise jenkins cannot read the test output xml file - keep new line
This commit is contained in:
		| @@ -896,7 +896,7 @@ class Script: public QObject { | |||||||
|       QString prefix |       QString prefix | ||||||
|         (QDateTime::currentDateTime().toString("yyyy-MM-dd HH:mm:ss ")); |         (QDateTime::currentDateTime().toString("yyyy-MM-dd HH:mm:ss ")); | ||||||
|       Command* cmd(command?command:_command); |       Command* cmd(command?command:_command); | ||||||
|       for (QChar& c: text) if (c<32) c='?'; |       for (QChar& c: text) if (c<32&&c!='\n') c='?'; | ||||||
|       if (cmd) |       if (cmd) | ||||||
|         prefix += QString("%2:%3%1 ") |         prefix += QString("%2:%3%1 ") | ||||||
|           .arg(QString(cmd->indent(), QChar(' '))) |           .arg(QString(cmd->indent(), QChar(' '))) | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user