File tree 4 files changed +33
-0
lines changed
4 files changed +33
-0
lines changed Original file line number Diff line number Diff line change @@ -22,3 +22,6 @@ list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake)
22
22
include (scalapack_tests_helpers)
23
23
24
24
enable_testing ()
25
+
26
+ # Packaging tests
27
+ add_subdirectory (package)
Original file line number Diff line number Diff line change
1
+ scalapack_add_test(find_package)
2
+ scalapack_add_test(deprecated_targets)
Original file line number Diff line number Diff line change
1
+ cmake_minimum_required (VERSION 3.26...4.0)
2
+
3
+ project (test_find_package
4
+ LANGUAGES C Fortran
5
+ )
6
+
7
+ find_package (scalapack REQUIRED CONFIG)
8
+
9
+ # TODO: Add a proper smoke test
10
+ if (NOT TARGET scalapack)
11
+ message (FATAL_ERROR "scalapack target not present" )
12
+ endif ()
13
+
14
+ enable_testing ()
Original file line number Diff line number Diff line change
1
+ cmake_minimum_required (VERSION 3.26...4.0)
2
+
3
+ project (test_find_package
4
+ LANGUAGES C Fortran
5
+ )
6
+
7
+ find_package (scalapack REQUIRED CONFIG)
8
+
9
+ # TODO: Add a proper smoke test
10
+ if (NOT TARGET scalapack::scalapack)
11
+ message (FATAL_ERROR "scalapack::scalapack target not present" )
12
+ endif ()
13
+
14
+ enable_testing ()
You can’t perform that action at this time.
0 commit comments