Skip to content

Commit

Permalink
Merge pull request #1375 from wkentaro/replace-slash-for-test
Browse files Browse the repository at this point in the history
[jsk_tools] Replace slash to create a valid test name
  • Loading branch information
k-okada committed Apr 27, 2016
2 parents dce19a8 + c7ba932 commit 4f248ba
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions jsk_tools/cmake/shell_test.cmake.em
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ function(jsk_tools_add_shell_test)
cmake_parse_arguments(_shell_test "" "" "COMMAND;DEPENDENCIES" ${ARGN})

string(REPLACE " " "_" testname ${_shell_test_COMMAND})
string(REPLACE "/" "_" testname ${testname})
set(output_path ${CATKIN_TEST_RESULTS_DIR}/${PROJECT_NAME})
set(output_file_name "shell-test_${testname}.xml")
set(cmd "${CMAKE_COMMAND} -E make_directory ${output_path}")
Expand Down

0 comments on commit 4f248ba

Please sign in to comment.