Skip tests for Windows launchers

We don't include the bundled simple_launcher .exes in our Debian source
package, for DFSG reasons. They aren't needed outside Windows.

Forwarded: not-needed
This commit is contained in:
Stefano Rivera 2021-11-07 15:04:10 -08:00 committed by su-fang
parent 179d68eba7
commit 7b60881ea1
1 changed files with 4 additions and 0 deletions

View File

@ -40,6 +40,8 @@ def _read_launcher_data(section, kind):
return f.read()
@pytest.mark.skip(
"Skipped on Debian, we don't include the simple_launcher .exes")
@pytest.mark.parametrize("section", ["console", "gui"])
@pytest.mark.parametrize("kind", ["win-ia32", "win-amd64", "win-arm"])
def test_script_generate_launcher(section, kind):
@ -60,6 +62,8 @@ def test_script_generate_launcher(section, kind):
assert b"baz.qux()" in code
@pytest.mark.skip(
"Skipped on Debian, we don't include the simple_launcher .exes")
@pytest.mark.parametrize(
"section, kind",
[("nonexist", "win-ia32"), ("console", "nonexist"), ("nonexist", "nonexist")],