[education/rkward] rkward/autotests: Fix printing of diagnostics
Thomas Friedrichsmeier
null at kde.org
Sun Oct 2 12:54:30 BST 2022
Git commit cdf825b59d0af97b7322ff1d3bba137f1f4ce8ad by Thomas Friedrichsmeier.
Committed on 02/10/2022 at 11:54.
Pushed by tfry into branch 'master'.
Fix printing of diagnostics
M +1 -1 rkward/autotests/core_test.cpp
https://invent.kde.org/education/rkward/commit/cdf825b59d0af97b7322ff1d3bba137f1f4ce8ad
diff --git a/rkward/autotests/core_test.cpp b/rkward/autotests/core_test.cpp
index df1a4b79..636d248d 100644
--- a/rkward/autotests/core_test.cpp
+++ b/rkward/autotests/core_test.cpp
@@ -237,7 +237,7 @@ private slots:
// There needs to be some wiggle room, however, as this is inherently prone to race-conditions. (Commands finish running before getting cancelled, or they don't).
QVERIFY(cancelled_commands >= 25);
QVERIFY(cancelled_commands <= 75);
- qDebug("%d out of %d commands were actually cancelled", cancelled_commands, commands_out);
+ printf("%d out of %d commands were actually cancelled", cancelled_commands, commands_out);
}
void priorityCommandTest() {
More information about the rkward-tracker
mailing list