From 7c0c79e8ad4680f97651dd52721344961c803c15 Mon Sep 17 00:00:00 2001 From: xuxuepeng Date: Sat, 20 Apr 2024 11:48:56 +0800 Subject: [PATCH 71/73] Remove sandboxer ut if sandboxer is not enabled Signed-off-by: xuxuepeng --- test/sandbox/CMakeLists.txt | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/test/sandbox/CMakeLists.txt b/test/sandbox/CMakeLists.txt index 68397477..38d7ccb9 100644 --- a/test/sandbox/CMakeLists.txt +++ b/test/sandbox/CMakeLists.txt @@ -1,5 +1,7 @@ project(iSulad_UT) -add_subdirectory(controller) -add_subdirectory(sandbox_manager) -add_subdirectory(sandbox) +if (ENABLE_SANDBOXER) + add_subdirectory(controller) + add_subdirectory(sandbox_manager) + add_subdirectory(sandbox) +endif() -- 2.34.1