diff --git a/ext/jasmine-webkit-specrunner/Runner.cpp b/ext/jasmine-webkit-specrunner/Runner.cpp index 52f410e..2c63ea5 100644 --- a/ext/jasmine-webkit-specrunner/Runner.cpp +++ b/ext/jasmine-webkit-specrunner/Runner.cpp @@ -154,6 +154,8 @@ void Runner::print(const QString &fh, const QString &content) { int index = (int)fh.split(":").last().toUInt(); QTextStream ts(outputFiles.at(index)); + while (!outputFiles.isEmpty()) + std::cout << qPrintable(outputFiles.dequeue()) << endl; ts << qPrintable(content); ts.flush(); }