From 2295e96f69a8c13751ba69ea9176b0599c0909a8 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Sat, 11 Jan 2025 14:20:43 +0000 Subject: automatic import of iSulad --- ...-sandboxer-ut-if-sandboxer-is-not-enabled.patch | 28 ++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 0071-Remove-sandboxer-ut-if-sandboxer-is-not-enabled.patch (limited to '0071-Remove-sandboxer-ut-if-sandboxer-is-not-enabled.patch') diff --git a/0071-Remove-sandboxer-ut-if-sandboxer-is-not-enabled.patch b/0071-Remove-sandboxer-ut-if-sandboxer-is-not-enabled.patch new file mode 100644 index 0000000..dbfbe5d --- /dev/null +++ b/0071-Remove-sandboxer-ut-if-sandboxer-is-not-enabled.patch @@ -0,0 +1,28 @@ +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 + -- cgit v1.2.3