Package list kwindowsystem / f681b41
drop 'testsuite' autopkgtest Pino Toscano 2 years ago
6 changed file(s) with 4 addition(s) and 56 deletion(s). Raw diff Collapse all Expand all
99 are not run at build time anyway.
1010 * Drop the migration from libkf5windowsystem5-dbg, no more needed after two
1111 Debian stable releases.
12 * Drop the 'testsuite' autopkgtest, as it does not test the installed
13 packages
14 - drop patch kwindowinfox11test-Skip-SkipSwitcher-test.patch, no more
15 needed now
1216
1317 -- Debian/Kubuntu Qt/KDE Maintainers <debian-qt-kde@lists.debian.org> Sat, 21 Sep 2019 07:53:56 +0200
1418
+0
-25
debian/patches/kwindowinfox11test-Skip-SkipSwitcher-test.patch less more
0 From: Maximiliano Curia <maxy@gnuservers.com.ar>
1 Date: Tue, 15 May 2018 20:31:18 +0200
2 Subject: kwindowinfox11test: Skip SkipSwitcher test
3
4 Openbox won't keep unknown states and SkipSwitcher is kde specific
5 ---
6 autotests/kwindowinfox11test.cpp | 5 +++++
7 1 file changed, 5 insertions(+)
8
9 diff --git a/autotests/kwindowinfox11test.cpp b/autotests/kwindowinfox11test.cpp
10 index 857d5a9..26e6761 100644
11 --- a/autotests/kwindowinfox11test.cpp
12 +++ b/autotests/kwindowinfox11test.cpp
13 @@ -227,6 +227,11 @@ void KWindowInfoX11Test::testState()
14
15 KWindowInfo info3(window->winId(), NET::WMState);
16 QVERIFY(info3.valid());
17 +
18 + NETRootInfo rootInfo(QX11Info::connection(), NET::Supported | NET::SupportingWMCheck);
19 + if (state == NET::States(NET::SkipSwitcher) && qstrcmp(rootInfo.wmName(), "Openbox") == 0) {
20 + QSKIP("Openbox won't keep unknown states, SkipSwitcher is kde specific");
21 + }
22 QCOMPARE(int(info3.state()), int(state));
23 QVERIFY(info3.hasState(state));
24 }
+0
-1
debian/patches/series less more
0 kwindowinfox11test-Skip-SkipSwitcher-test.patch
0 Tests: testsuite
1 Depends: build-essential,
2 dbus (>= 1.8),
3 libgl1-mesa-dri,
4 openbox,
5 xauth,
6 xserver-xephyr,
7 xvfb,
8 @,
9 @builddeps@,
10 Restrictions: build-needed, allow-stderr
11
120 Tests: acc
131 Depends: dh-acc, exuberant-ctags, @
142 Restrictions: allow-stderr
+0
-12
debian/tests/testsuite less more
0 #!/bin/sh
1
2 [ -e debian/tests.home ] || mkdir debian/tests.home
3 export HOME="$(pwd)/debian/tests.home"
4 mkdir "$HOME"/.config || true
5 remove_home () {
6 rm -rf debian/tests.home
7 }
8 trap remove_home EXIT
9
10 xvfb-run -a --server-args="-screen 0 1024x768x24" \
11 dbus-run-session -- debian/tests/testsuite.xsession
+0
-6
debian/tests/testsuite.xsession less more
0 #!/bin/sh
1 export LANG=C.UTF-8
2 export LC_ALL=C.UTF-8
3 openbox &
4 sleep 1
5 dh_auto_test --no-parallel