diff options
author | CoprDistGit <infra@openeuler.org> | 2025-05-30 08:24:45 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2025-05-30 08:24:45 +0000 |
commit | 7df887ee174b7802d30c6e0bda4d763274df91f3 (patch) | |
tree | a1735112507017c38f2b08d0aee4c136c2307c3f /0071-Remove-sandboxer-ut-if-sandboxer-is-not-enabled.patch | |
parent | 664ca34f01a2f1c50e94ba70a97ad21cce6e72c2 (diff) |
automatic import of iSuladopeneuler24.03_LTS_SP1
Diffstat (limited to '0071-Remove-sandboxer-ut-if-sandboxer-is-not-enabled.patch')
-rw-r--r-- | 0071-Remove-sandboxer-ut-if-sandboxer-is-not-enabled.patch | 28 |
1 files changed, 28 insertions, 0 deletions
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 <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 + |