[education/rkward/testing/win_citest_timeout] /: Explore what exactly the test log should be expected to look like, in case this really is a simple timeout issue.

Thomas Friedrichsmeier null at kde.org
Sun Oct 2 20:06:46 BST 2022


Git commit 35122971e798be3c3f09e26eef7d10a505f7aadb by Thomas Friedrichsmeier.
Committed on 02/10/2022 at 19:05.
Pushed by tfry into branch 'testing/win_citest_timeout'.

Explore what exactly the test log should be expected to look like, in case this really is a simple timeout issue.

M  +0    -2    .gitlab-ci.yml
M  +1    -1    .kde-ci.yml
M  +3    -0    rkward/autotests/core_test.cpp

https://invent.kde.org/education/rkward/commit/35122971e798be3c3f09e26eef7d10a505f7aadb

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 2eb710e7..4c585377 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -2,6 +2,4 @@
 # SPDX-License-Identifier: CC0-1.0
 
 include:
-  - https://invent.kde.org/sysadmin/ci-utilities/raw/master/gitlab-templates/linux.yml
-  - https://invent.kde.org/sysadmin/ci-utilities/raw/master/gitlab-templates/freebsd.yml
   - https://invent.kde.org/sysadmin/ci-utilities/raw/master/gitlab-templates/windows.yml
diff --git a/.kde-ci.yml b/.kde-ci.yml
index 0461eeb4..8d235fa6 100644
--- a/.kde-ci.yml
+++ b/.kde-ci.yml
@@ -19,6 +19,6 @@ Dependencies:
     'frameworks/kcrash': '@stable'
 
 Options:
-  require-passing-tests-on: [ 'Linux', 'FreeBSD' ]
+  require-passing-tests-on: [ 'Windows' ]
   tests-load-sensitve: True
   per-test-timeout: 120
diff --git a/rkward/autotests/core_test.cpp b/rkward/autotests/core_test.cpp
index 2857629d..94b7bbab 100644
--- a/rkward/autotests/core_test.cpp
+++ b/rkward/autotests/core_test.cpp
@@ -207,6 +207,9 @@ private slots:
 			QVERIFY(command->error().contains("123test"));
 		});
 		cleanGlobalenv();
+#ifdef Q_OS_WIN
+		runCommandWithTimeout(new RCommand("Sys.sleep(150)", RCommand::User), nullptr, [](RCommand*){}, 150000);
+#endif
 	}
 
 	void restartRBackend() {


More information about the rkward-tracker mailing list