From 8babd28a5008657df91032df4af8c512ee239b3f Mon Sep 17 00:00:00 2001 From: Ranjith Ramakrishnan Date: Wed, 25 Oct 2023 17:43:13 -0700 Subject: [PATCH] SWDEV-427554 - Temporarily disable building of unittest in ASAN builds Unittest is failing in ASAN builds. To unblock ASAN builds, disabling the same as a workaround The test will run in non-asan builds Change-Id: Ib3c8d7a2c77aa83e9c6260e9b47ccb0564f789e8 --- tests-v2/unittests/CMakeLists.txt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tests-v2/unittests/CMakeLists.txt b/tests-v2/unittests/CMakeLists.txt index 6ceb56ed28..aa53836658 100644 --- a/tests-v2/unittests/CMakeLists.txt +++ b/tests-v2/unittests/CMakeLists.txt @@ -1,2 +1,4 @@ -add_subdirectory(profiler) -add_subdirectory(core) +if(NOT ENABLE_ASAN_PACKAGING) + add_subdirectory(profiler) + add_subdirectory(core) +endif()