Debian Codegraph @

debian/patches/skip-script-tests

raw
1 From: Stefano Rivera <[email protected]>
2 Date: Sun, 7 Nov 2021 15:04:10 -0800
3 Subject: Skip tests for Windows launchers
4
5 We don't include the bundled simple_launcher .exes in our Debian source
6 package, for DFSG reasons. They aren't needed outside Windows.
7
8 Forwarded: not-needed
9 ---
10 tests/test_scripts.py | 4 ++++
11 1 file changed, 4 insertions(+)
12
13 diff --git a/tests/test_scripts.py b/tests/test_scripts.py
14 index dfb5317..050a02f 100644
15 --- a/tests/test_scripts.py
16 +++ b/tests/test_scripts.py
17 @@ -36,6 +36,8 @@ def _read_launcher_data(section, kind):
18 return file.read_bytes()
19
20
21 [email protected](
22 + "Skipped on Debian, we don't include the simple_launcher .exes")
23 @pytest.mark.parametrize("section", ["console", "gui"])
24 @pytest.mark.parametrize("kind", ["win-ia32", "win-amd64", "win-arm"])
25 def test_script_generate_launcher(section, kind):
26 @@ -59,6 +61,8 @@ def test_script_generate_launcher(section, kind):
27 assert b"baz.qux()" in code
28
29
30 [email protected](
31 + "Skipped on Debian, we don't include the simple_launcher .exes")
32 @pytest.mark.parametrize(
33 "section, kind",
34 [("nonexist", "win-ia32"), ("console", "nonexist"), ("nonexist", "nonexist")],