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 @@ -15,3 +15,6 @@ enable_testing()
15
15
16
16
# Old test-suite
17
17
add_subdirectory (traditional)
18
+
19
+ # Packaging tests
20
+ 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