!529 [sync] PR-527: disable tests while building lxc

From: @openeuler-sync-bot 
Reviewed-by: @taotao-sauce 
Signed-off-by: @taotao-sauce
This commit is contained in:
openeuler-ci-bot 2024-08-26 03:50:48 +00:00 committed by Gitee
commit 26560f7e4d
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1,4 +1,4 @@
%global _release 14
%global _release 15
%bcond isulad 1
Name: lxc
@ -88,7 +88,7 @@ This package contains documentation for lxc for creating containers.
%ifarch riscv64
export LDFLAGS="%{build_ldflags} -latomic -pthread"
%endif
meson setup -Dtests=true \
meson setup \
%{?with_isulad:-Disulad=true} \
%{!?with_isulad:-Disulad=false} \
%if "%{?toolchain}" == "clang"
@ -214,6 +214,12 @@ meson test -C build
%endif
%changelog
* Mon Jul 29 2024 jikai <jikai11@huawei.com> - 5.0.2-15
- Type: bugfix
- ID:NA
- SUG:NA
- DESC: disable tests while building lxc
* Mon Mar 11 2024 jchzhou <zhoujiacheng@iscas.ac.cn> - 5.0.2-14
- Type: bugfix
- ID:NA