add print fh
This commit is contained in:
parent
f96b931285
commit
9a47cdd6c8
@ -140,7 +140,6 @@ bool Runner::isQuiet() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void Runner::print(const QString &fh, const QString &content) {
|
void Runner::print(const QString &fh, const QString &content) {
|
||||||
std::cout << qPrintable("Runner::report");
|
|
||||||
if (fh == "stdout") {
|
if (fh == "stdout") {
|
||||||
std::cout << qPrintable(content);
|
std::cout << qPrintable(content);
|
||||||
std::cout.flush();
|
std::cout.flush();
|
||||||
@ -150,6 +149,7 @@ void Runner::print(const QString &fh, const QString &content) {
|
|||||||
std::cerr << qPrintable(content);
|
std::cerr << qPrintable(content);
|
||||||
std::cerr.flush();
|
std::cerr.flush();
|
||||||
}
|
}
|
||||||
|
std::cout << qPrintable("Runner::report" + fh);
|
||||||
|
|
||||||
if (fh.contains("report")) {
|
if (fh.contains("report")) {
|
||||||
int index = (int)fh.split(":").last().toUInt();
|
int index = (int)fh.split(":").last().toUInt();
|
||||||
|
Loading…
Reference in New Issue
Block a user