From 5356f8d10aa6da11943e6c446dc2bb008f2c8bd83809b923a073f0ea68b2662d Mon Sep 17 00:00:00 2001 From: Franck Bui Date: Tue, 16 Jul 2024 14:31:57 +0000 Subject: [PATCH] - Skip running the test units in %check for now. Some tests don't appreciate to run inside the build environment of OBS currently and some of them take an unexpected long time to execute on both risc and s390x architectures. OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1544 --- systemd.changes | 9 +++++++++ systemd.spec | 2 ++ 2 files changed, 11 insertions(+) diff --git a/systemd.changes b/systemd.changes index 2a3cf1e3..ee783f13 100644 --- a/systemd.changes +++ b/systemd.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Tue Jul 16 14:29:24 UTC 2024 - Franck Bui + +- Skip running the test units in %check for now. + + Some tests don't appreciate to run inside the build environment of OBS + currently and some of them take an unexpected long time to execute on both + risc and s390x architectures. + ------------------------------------------------------------------- Thu Jul 11 10:17:06 UTC 2024 - Franck Bui diff --git a/systemd.spec b/systemd.spec index 10ce570a..c2947753 100644 --- a/systemd.spec +++ b/systemd.spec @@ -1084,8 +1084,10 @@ rm -f %{buildroot}%{_systemd_util_dir}/systemd-ssh-proxy %systemd_pre systemd-userdbd.service %check +%if %{with upstream} # Run the unit tests. %meson_test +%endif %post if [ $1 -eq 1 ]; then