From 9a47cdd6c8adf716f6e5399e97ea766b32f51de6 Mon Sep 17 00:00:00 2001 From: hysios hu Date: Sun, 23 Sep 2012 17:33:27 +0800 Subject: [PATCH] add print fh --- ext/jasmine-webkit-specrunner/Runner.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/jasmine-webkit-specrunner/Runner.cpp b/ext/jasmine-webkit-specrunner/Runner.cpp index 4eb083f..bb5c5ea 100644 --- a/ext/jasmine-webkit-specrunner/Runner.cpp +++ b/ext/jasmine-webkit-specrunner/Runner.cpp @@ -140,7 +140,6 @@ 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(); @@ -150,6 +149,7 @@ void Runner::print(const QString &fh, const QString &content) { std::cerr << qPrintable(content); std::cerr.flush(); } + std::cout << qPrintable("Runner::report" + fh); if (fh.contains("report")) { int index = (int)fh.split(":").last().toUInt();