This is an automated email from the ASF dual-hosted git repository.

pnoltes pushed a commit to branch feature/509-remove-embedded-bundles-support
in repository https://gitbox.apache.org/repos/asf/celix.git


The following commit(s) were added to 
refs/heads/feature/509-remove-embedded-bundles-support by this push:
     new 42243577 Remove embedded bundle usage from cmake warn test
42243577 is described below

commit 42243577df6c3dfa788991dd8dd1d59e69c3f3b9
Author: Pepijn Noltes <[email protected]>
AuthorDate: Sun Dec 31 00:36:53 2023 +0100

    Remove embedded bundle usage from cmake warn test
---
 cmake/celix_project/WarningTests.cmake | 16 ----------------
 1 file changed, 16 deletions(-)

diff --git a/cmake/celix_project/WarningTests.cmake 
b/cmake/celix_project/WarningTests.cmake
index 316fc978..89a22978 100644
--- a/cmake/celix_project/WarningTests.cmake
+++ b/cmake/celix_project/WarningTests.cmake
@@ -36,20 +36,4 @@ if (ENABLE_CMAKE_WARNING_TESTS AND TARGET Celix::shell AND 
TARGET Celix::shell_t
     #Adding a bundle twice on different run levels should result in an warning
     celix_container_bundles(example_with_duplicate_bundles_1 LEVEL 4 
Celix::shell_tui)
     celix_container_bundles(example_with_duplicate_bundles_1 LEVEL 4 
Celix::shell)
-
-    add_celix_container(example_with_duplicate_bundles_2
-            BUNDLES Celix::shell_tui #add bundles with run level 3
-    )
-
-    #Adding an embedded bundle as install and later with a run level which is 
already added as a normal bundle
-    #will not lead to a warning because multiple bundles are checked based on 
path and not based on the bundle
-    #symbolic name.
-    celix_container_embedded_bundles(example_with_duplicate_bundles_2 INSTALL 
Celix::shell_tui)
-    celix_container_embedded_bundles(example_with_duplicate_bundles_2 LEVEL 3 
Celix::shell_tui)
-
-    #Adding an embedded again will not lead to an warning (ignored)
-    celix_container_embedded_bundles(example_with_duplicate_bundles_2 LEVEL 3 
Celix::shell_tui)
-
-    #But adding an embedded bundle with a different run level will lead to an 
warning
-    celix_container_embedded_bundles(example_with_duplicate_bundles_2 LEVEL 4 
Celix::shell_tui)
 endif ()

Reply via email to