Rostest with a dataset
Hi, I would like to launch my test with rostest in order to get running gazebo and the tested node.
I succeed to make it work with
catkin_make run_tests
This test requires a dataset in a subdirectory 'data'
catkin_add_gtest(${PROJECT_NAME}_test test/test_pc_merger.cpp test/test_pc_merger.h WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}/test)
When I launch it with rostest, here is the error
[pcl::PCDReader::read] Could not find file 'data/cloud1.pcd'. Couldn't read file data/cloud1.pcd
I'm trying to copy this dataset directory with a DIRECTORY copy in the CMakelist but where ?