Runner::print
This commit is contained in:
parent
d65348a051
commit
f96b931285
@ -140,6 +140,7 @@ bool Runner::isQuiet() {
|
||||
}
|
||||
|
||||
void Runner::print(const QString &fh, const QString &content) {
|
||||
std::cout << qPrintable("Runner::report");
|
||||
if (fh == "stdout") {
|
||||
std::cout << qPrintable(content);
|
||||
std::cout.flush();
|
||||
@ -152,7 +153,7 @@ void Runner::print(const QString &fh, const QString &content) {
|
||||
|
||||
if (fh.contains("report")) {
|
||||
int index = (int)fh.split(":").last().toUInt();
|
||||
std::cout << qPrintable("report");
|
||||
|
||||
QTextStream ts(outputFiles.at(index));
|
||||
while (!outputFiles.isEmpty()){
|
||||
QFile *outputFile = outputFiles.dequeue();
|
||||
|
Loading…
Reference in New Issue
Block a user