Skip to content

Commit

Permalink
Enable packaging tests
Browse files Browse the repository at this point in the history
Signed-off-by: Cristian Le <[email protected]>
  • Loading branch information
LecrisUT committed Nov 6, 2023
1 parent d175527 commit 2ba7b75
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions test/package/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
set_property(DIRECTORY APPEND
PROPERTY LABELS package
)

set(test_list
FetchContent
find_package
)
if (NOT Template_IS_TOP_LEVEL)
list(APPEND test_list pkg-config)
endif ()

foreach (test IN LISTS test_list)
Template_add_test(${test} TEST_NAME test-${test})
endforeach ()

0 comments on commit 2ba7b75

Please sign in to comment.