blob: dbfbe5ddc436c7de40645cb858db47f7d0dce489 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
From 7c0c79e8ad4680f97651dd52721344961c803c15 Mon Sep 17 00:00:00 2001
From: xuxuepeng <xuxuepeng1@huawei.com>
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 <xuxuepeng1@huawei.com>
---
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
|