From 4972c82fec6d63feadaadd0e87332a21ac9eeb923579eb5e0e2edb1c085eec3c Mon Sep 17 00:00:00 2001 From: Daniel Garcia Date: Mon, 29 Jan 2024 13:20:10 +0000 Subject: [PATCH] - Disable broken tests in s390x, bsc#1217019 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-debugpy?expand=0&rev=28 --- python-debugpy.changes | 5 +++++ python-debugpy.spec | 11 +++++++++-- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/python-debugpy.changes b/python-debugpy.changes index 5ddb0c8..17c1983 100644 --- a/python-debugpy.changes +++ b/python-debugpy.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Jan 29 12:57:18 UTC 2024 - Daniel Garcia + +- Disable broken tests in s390x, bsc#1217019 + ------------------------------------------------------------------- Tue Dec 5 17:14:47 UTC 2023 - Dirk Müller diff --git a/python-debugpy.spec b/python-debugpy.spec index 216c8c2..3384cb5 100644 --- a/python-debugpy.spec +++ b/python-debugpy.spec @@ -1,7 +1,7 @@ # -# spec file +# spec file for package python-debugpy # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -120,6 +120,13 @@ donttest="$donttest or test_redirect_output or test_with_no_output or test_syste rm -v tests/debugpy/test_exception.py tests/debugpy/test_django.py # gh#microsoft/debugpy#1462 donttest="$donttest or test_attach_pid_client" + +# Disable broken tests in s390x, bsc#1217019 +%ifarch s390x +sed -i "s/timeout=30/timeout=60/g" pytest.ini +donttest+=" or test_attach_api or test_reattach or test_break_api or test_set_variable or test_unicode or test_debugpySystemInfo or test_debug_this_thread or test_tracing" +%endif + %pytest_arch -k "not ($donttest)" %endif