Skip to content

Commit

Permalink
JANA test cases consistently use kabob-case
Browse files Browse the repository at this point in the history
  • Loading branch information
nathanwbrei committed Jan 30, 2025
1 parent f041ee1 commit 8ec3d26
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions cmake/AddJanaPlugin.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -93,16 +93,16 @@ macro(add_jana_plugin plugin_name)

# Handle tests
if (PLUGIN_TESTS)
add_executable(${plugin_name}_tests ${PLUGIN_TESTS})
target_link_libraries(${plugin_name}_tests PRIVATE ${plugin_name} "${JANA_NAMESPACE}VendoredCatch2")
set_target_properties(${plugin_name}_tests PROPERTIES
add_executable(${plugin_name}-tests ${PLUGIN_TESTS})
target_link_libraries(${plugin_name}-tests PRIVATE ${plugin_name} "${JANA_NAMESPACE}VendoredCatch2")
set_target_properties(${plugin_name}-tests PROPERTIES
SKIP_BUILD_RPATH FALSE
BUILD_WITH_INSTALL_RPATH TRUE
INSTALL_RPATH_USE_LINK_PATH TRUE
INSTALL_RPATH "${CMAKE_INSTALL_PREFIX}/lib;${CMAKE_INSTALL_PREFIX}/lib/${INSTALL_NAMESPACE}/plugins"
)
#install(TARGETS ${plugin_name}_tests RUNTIME DESTINATION bin)
add_test(NAME ${plugin_name}_tests COMMAND ${plugin_name}_tests)
#install(TARGETS ${plugin_name}-tests RUNTIME DESTINATION bin)
add_test(NAME ${plugin_name}-tests COMMAND ${plugin_name}-tests)
endif()
endmacro()

Expand Down
4 changes: 2 additions & 2 deletions src/plugins/janacontrol/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ if (${USE_ZEROMQ})

target_include_directories(janacontrol PUBLIC ${ZeroMQ_INCLUDE_DIRS})
target_link_libraries(janacontrol PUBLIC ${ZeroMQ_LIBRARIES})
target_include_directories(janacontrol_tests PUBLIC ${ZeroMQ_INCLUDE_DIRS})
target_link_libraries(janacontrol_tests PUBLIC ${ZeroMQ_LIBRARIES})
target_include_directories(janacontrol-tests PUBLIC ${ZeroMQ_INCLUDE_DIRS})
target_link_libraries(janacontrol-tests PUBLIC ${ZeroMQ_LIBRARIES})

else()
message(STATUS "Skipping plugins/janacontrol because USE_ZEROMQ=Off")
Expand Down

0 comments on commit 8ec3d26

Please sign in to comment.