From a3a36fddb93911a2fbb3cbc89baf61116013f273 Mon Sep 17 00:00:00 2001 From: Dirk Thomas Date: Tue, 20 Dec 2016 09:39:23 -0800 Subject: [PATCH] fix generating unique files on Windows --- image_tools/CMakeLists.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/image_tools/CMakeLists.txt b/image_tools/CMakeLists.txt index eccc8c7b4..a401ae004 100644 --- a/image_tools/CMakeLists.txt +++ b/image_tools/CMakeLists.txt @@ -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}_$.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}_$.py" TIMEOUT 60) endif() endmacro()