File tree Expand file tree Collapse file tree 4 files changed +33
-0
lines changed Expand file tree Collapse file tree 4 files changed +33
-0
lines changed Original file line number Diff line number Diff line change @@ -15,3 +15,6 @@ enable_testing()
1515
1616# Old test-suite 
1717add_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