Debian Codegraph @

debian/patches/Skip-smartmontools-integration-test.patch

raw
1 From: Michael Biebl <[email protected]>
2 Date: Sun, 15 Sep 2024 20:20:41 +0200
3 Subject: Skip smartmontools integration test
4
5 This would otherwise trigger an autopkgtest failure as smartmontools support
6 is not enabled in Debian.
7
8 ======================================================================
9 ERROR: setUpClass (smartmontools_test.SmartmontoolsTest)
10 ----------------------------------------------------------------------
11 Traceback (most recent call last):
12 File "/tmp/autopkgtest.2zhoHT/build.tQQ/src/tests/smartmontools_test.py", line 32, in setUpClass
13 BlockDev.reinit([cls.ps, cls.ps2], True, None)
14 File "/tmp/autopkgtest.2zhoHT/build.tQQ/src/src/python/gi/overrides/BlockDev.py", line 164, in reinit
15 return _reinit(require_plugins, reload, log_func)
16 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
17 gi.repository.GLib.GError: g-bd-init-error-quark: Failed to load plugins (1)
18 ---
19 tests/skip.yml | 5 +++++
20 1 file changed, 5 insertions(+)
21
22 diff --git a/tests/skip.yml b/tests/skip.yml
23 index a38ce16..f362514 100644
24 --- a/tests/skip.yml
25 +++ b/tests/skip.yml
26 @@ -24,6 +24,11 @@
27
28 ---
29
30 +- test: smartmontools_test.SmartmontoolsTest.*
31 + skip_on:
32 + - distro: "debian"
33 + reason: "smartmontools support is disabled on Debian"
34 +
35 - test: mdraid_test.MDTestAddRemove.test_add_remove
36 skip_on:
37 - distro: "debian"