Skip to content

Commit

Permalink
Merge pull request #102 from ros2/fix_generating_unique_files
Browse files Browse the repository at this point in the history
fix generating unique files on Windows
  • Loading branch information
dirk-thomas authored Dec 20, 2016
2 parents 02178ac + a3a36fd commit 2b5722a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions image_tools/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -87,15 +87,15 @@ if(BUILD_TESTING)

configure_file(
test/test_executables_demo.py.in
test_showimage_cam2image${target_suffix}.py
test_showimage_cam2image${target_suffix}.py.genexp
@ONLY
)
file(GENERATE
OUTPUT test_showimage_cam2image${target_suffix}.py
INPUT test_showimage_cam2image${target_suffix}.py)
OUTPUT test_showimage_cam2image${target_suffix}_$<CONFIG>.py
INPUT test_showimage_cam2image${target_suffix}.py.genexp)

ament_add_nose_test(test_demo_showimage_cam2image${target_suffix}
"${CMAKE_CURRENT_BINARY_DIR}/test_showimage_cam2image${target_suffix}.py"
"${CMAKE_CURRENT_BINARY_DIR}/test_showimage_cam2image${target_suffix}_$<CONFIG>.py"
TIMEOUT 60)
endif()
endmacro()
Expand Down

0 comments on commit 2b5722a

Please sign in to comment.