[education/rkward] rkward/autotests: Tweak logging
Thomas Friedrichsmeier
null at kde.org
Sun Oct 2 18:09:56 BST 2022
Git commit 7d6c691cc0e3eea1bce663a931f2f2300114e59f by Thomas Friedrichsmeier.
Committed on 02/10/2022 at 17:09.
Pushed by tfry into branch 'master'.
Tweak logging
M +2 -2 rkward/autotests/core_test.cpp
https://invent.kde.org/education/rkward/commit/7d6c691cc0e3eea1bce663a931f2f2300114e59f
diff --git a/rkward/autotests/core_test.cpp b/rkward/autotests/core_test.cpp
index 7d5d1057..a1fbcf0a 100644
--- a/rkward/autotests/core_test.cpp
+++ b/rkward/autotests/core_test.cpp
@@ -107,7 +107,7 @@ class RKWardCoreTest: public QObject {
QString backendStatus() {
if (RInterface::instance()->backendIsDead()) return "dead";
if (RInterface::instance()->backendIsIdle()) return "idle";
- return "dead";
+ return "busy";
}
QPointer<RKWardMainWindow> main_win;
@@ -125,7 +125,7 @@ private slots:
void initTestCase() {
_test_timer.start();
qputenv("QTWEBENGINE_CHROMIUM_FLAGS", "--no-sandbox"); // Allow test to be run as root, which, for some reason is being done on the SuSE CI.
- QLoggingCategory::setFilterRules("qt.text.layout=false"); // Filter out some noise
+ qputenv("QT_LOGGING_RULES", "qt.qpa.windows.debug=true"); // Deliberately overwriting the rules set in the CI, as we are producing too much output, otherwise
KAboutData::setApplicationData(KAboutData("rkward", "RKWard", RKWARD_VERSION, "Frontend to the R statistics language", KAboutLicense::GPL)); // component name needed for .rc files to load
RK_Debug::RK_Debug_Level = DL_DEBUG;
testLog(R_EXECUTABLE);
More information about the rkward-tracker
mailing list