Skip to content

Commit

Permalink
Update test names
Browse files Browse the repository at this point in the history
  • Loading branch information
streeve committed Aug 4, 2020
1 parent 82f87f6 commit 1c74e5f
Show file tree
Hide file tree
Showing 10 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion advanced_examples/01_parallel_for/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,5 @@ set_target_properties(AdvForParallelFor PROPERTIES COMPILE_FLAGS "${MPI_Fortran_
set_target_properties(AdvForParallelFor PROPERTIES LINK_FLAGS "${MPI_Fortran_LINK_FLAGS}")

target_link_libraries(AdvForParallelFor Cabana::cabanacore ${MPI_Fortran_LIBRARIES} kokkos_fortran_wrappers)
add_test(NAME Fortran_advanced_example_01 COMMAND AdvForParallelFor)
add_test(NAME Fortran_AdvEx_01_ParFor COMMAND AdvForParallelFor)
set_property(TARGET AdvForParallelFor PROPERTY LINKER_LANGUAGE Fortran)
2 changes: 1 addition & 1 deletion advanced_examples/02_push/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,5 @@ set_target_properties(AdvForPush PROPERTIES COMPILE_FLAGS "${MPI_Fortran_COMPILE
set_target_properties(AdvForPush PROPERTIES LINK_FLAGS "${MPI_Fortran_LINK_FLAGS}")

target_link_libraries(AdvForPush Cabana::cabanacore ${MPI_Fortran_LIBRARIES} kokkos_fortran_wrappers)
add_test(NAME Fortran_advanced_example_02 COMMAND AdvForPush)
add_test(NAME Fortran_AdvEx_02_Push COMMAND AdvForPush)
set_property(TARGET AdvForPush PROPERTY LINKER_LANGUAGE Fortran)
2 changes: 1 addition & 1 deletion advanced_examples/03_scatter/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,5 @@ set_target_properties(AdvForScatter PROPERTIES COMPILE_FLAGS "${MPI_Fortran_COMP
set_target_properties(AdvForScatter PROPERTIES LINK_FLAGS "${MPI_Fortran_LINK_FLAGS}")

target_link_libraries(AdvForScatter Cabana::cabanacore ${MPI_Fortran_LIBRARIES} kokkos_fortran_wrappers)
add_test(NAME Fortran_advanced_example_03 COMMAND AdvForScatter)
add_test(NAME Fortran_AdvEx_03_Scatter COMMAND AdvForScatter)
set_property(TARGET AdvForScatter PROPERTY LINKER_LANGUAGE Fortran)
2 changes: 1 addition & 1 deletion advanced_examples/04_unmanaged_aosoa/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ else()
endif()

target_link_libraries(ForParallelForUnmanaged Cabana::cabanacore ${MPI_Fortran_LIBRARIES})
add_test(NAME Fortran_advance_example_04 COMMAND ForParallelForUnmanaged)
add_test(NAME Fortran_AdvEx_04_Unmanaged COMMAND ForParallelForUnmanaged)
set_property(TARGET ForParallelForUnmanaged PROPERTY LINKER_LANGUAGE Fortran)
add_definitions(${MPI_Fortran_COMPILE_FLAGS})
include_directories(${MPI_Fortran_INCLUDE_PATH} ${CMAKE_CURRENT_BINARY_DIR}/../Fortran_features)
Expand Down
2 changes: 1 addition & 1 deletion tutorial/01_hello_world/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
add_executable(ForHelloWorld main.cpp hello_world.f90)
target_link_libraries(ForHelloWorld Cabana::cabanacore)
add_test(NAME Fortran_tutorial_01 COMMAND ForHelloWorld)
add_test(NAME Fortran_Tutorial_01_HelloWorld COMMAND ForHelloWorld)
6 changes: 3 additions & 3 deletions tutorial/02_tuple/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
add_executable(ForTuple main.cpp tuple_example.f90)
target_link_libraries(ForTuple Cabana::cabanacore)
add_test(NAME Fortran_tutorial_02 COMMAND ForTuple)
add_executable(ForTuple main.cpp tuple_example.f90)
target_link_libraries(ForTuple Cabana::cabanacore)
add_test(NAME Fortran_Tutorial_02_Tuple COMMAND ForTuple)
6 changes: 3 additions & 3 deletions tutorial/03_struct_of_arrays/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
add_executable(ForStructOfArrays main.cpp soa_example.F90)
target_link_libraries(ForStructOfArrays Cabana::cabanacore)
add_test(NAME Fortran_tutorial_03 COMMAND ForStructOfArrays)
add_executable(ForStructOfArrays main.cpp soa_example.F90)
target_link_libraries(ForStructOfArrays Cabana::cabanacore)
add_test(NAME Fortran_Tutorial_03_SoA COMMAND ForStructOfArrays)
6 changes: 3 additions & 3 deletions tutorial/04_aosoa/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
add_executable(ForArrayOfStructsOfArrays main.cpp aosoa_example.F90)
target_link_libraries(ForArrayOfStructsOfArrays Cabana::cabanacore)
add_test(NAME Fortran_tutorial_04 COMMAND ForArrayOfStructsOfArrays)
add_executable(ForArrayOfStructsOfArrays main.cpp aosoa_example.F90)
target_link_libraries(ForArrayOfStructsOfArrays Cabana::cabanacore)
add_test(NAME Fortran_Tutorial_04_AoSoA COMMAND ForArrayOfStructsOfArrays)
2 changes: 1 addition & 1 deletion tutorial/05_parallel_for/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
add_executable(ForParallelFor Fortran_main.f90 Fortran_kernels.F90 parallel_for_example.cpp)
target_link_libraries(ForParallelFor Cabana::cabanacore)
add_test(NAME Fortran_tutorial_05 COMMAND ForParallelFor)
add_test(NAME Fortran_Tutorial_05_ParFor COMMAND ForParallelFor)
set_property(TARGET ForParallelFor PROPERTY LINKER_LANGUAGE CXX)

if (("${CMAKE_Fortran_COMPILER_ID}" STREQUAL "PGI") AND ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "PGI"))
Expand Down
2 changes: 1 addition & 1 deletion tutorial/06_kokkos_parallel_for/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
add_executable(ForKKParallelFor Fortran_main.f90 Fortran_kernel.F90 hello_world.cpp)
target_link_libraries(ForKKParallelFor Cabana::cabanacore)
add_test(NAME Fortran_tutorial_06 COMMAND ForKKParallelFor)
add_test(NAME Fortran_Tutorial_06_KParFor COMMAND ForKKParallelFor)
set_property(TARGET ForKKParallelFor PROPERTY LINKER_LANGUAGE CXX)

if(CMAKE_Fortran_COMPILER_ID STREQUAL "PGI")
Expand Down

0 comments on commit 1c74e5f

Please sign in to comment.