From: Jaehoon Chung Date: Wed, 8 Jan 2025 05:55:18 +0000 (+0900) Subject: packaging: Disable dumpsys test during building ASAN X-Git-Tag: accepted/tizen/unified/20250108.170434^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fheads%2Ftizen;p=platform%2Fcore%2Fsystem%2Fdumpsys.git packaging: Disable dumpsys test during building ASAN Current ASAN base is using QEMU 9.2. There is a known issue about O_LARGEFILE - Refer : https://gitlab.com/qemu-project/qemu/-/commit/741df485e8aec3f509a4e26c975e4cdc94239c88 So it's always failing during building ASAN with QEMU 9.2. ASAN doesn't need to check unittest at building time. Do disable unittest if asan is defined. [ 97s] Test project /home/abuild/rpmbuild/BUILD/dumpsys-2.0.16/tests [ 97s] Start 1: test_dumpsys_client_user_api [ 97s] 1/4 Test #1: test_dumpsys_client_user_api ..... Passed 0.14 sec [ 97s] Start 2: test_dumpsys_service [ 98s] 2/4 Test #2: test_dumpsys_service .............***Failed 0.22 sec [ 98s] Start 3: test_dumpsys_client_system_api [ 98s] 3/4 Test #3: test_dumpsys_client_system_api ... Passed 0.17 sec Change-Id: I2745033fdb06656dfffc0a9180fb06dccd5a67af Signed-off-by: Jaehoon Chung --- diff --git a/packaging/dumpsys.spec b/packaging/dumpsys.spec index 8b89a03..421c44c 100644 --- a/packaging/dumpsys.spec +++ b/packaging/dumpsys.spec @@ -1,6 +1,6 @@ %define on_off() %{expand:%%{?with_%{1}:ON}%%{!?with_%{1}:OFF}} -%if "%{?profile}" == "tv" +%if "%{?profile}" == "tv" || "%{?asan}" == "1" %undefine _with_tests %else %define _with_tests on