From 2a5cca7ba918d356f01bce8b53a8b9c7eb85ba515deacb0e943089b9b0dfa39a Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Wed, 9 Nov 2022 10:08:01 +0000 Subject: [PATCH] - skip extra tests for qemu based builds OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pexpect?expand=0&rev=56 --- python-pexpect.changes | 5 +++++ python-pexpect.spec | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/python-pexpect.changes b/python-pexpect.changes index 8a80f52..aae47ad 100644 --- a/python-pexpect.changes +++ b/python-pexpect.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Nov 9 10:07:50 UTC 2022 - Dirk Müller + +- skip extra tests for qemu based builds + ------------------------------------------------------------------- Thu Aug 5 12:42:51 UTC 2021 - Dominique Leuenberger diff --git a/python-pexpect.spec b/python-pexpect.spec index 923aae5..fef23bd 100644 --- a/python-pexpect.spec +++ b/python-pexpect.spec @@ -1,7 +1,7 @@ # # spec file for package python-pexpect # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -66,7 +66,7 @@ export LANG=en_US.UTF-8 # test_bash https://github.com/pexpect/pexpect/issues/568 # test_large_stdout_stream - random # test_pager_as_cat - needs manpages that would pull extra deps -%pytest -k 'not test_bash and not test_large_stdout_stream and not test_pager_as_cat' +%pytest -k "not test_bash and not test_large_stdout_stream and not test_pager_as_cat %{?qemu_user_space_build: and not test_spawn_uses_env}" %files %{python_files} %license LICENSE