Hi all,

I am facing the issue of FIXTURES for setting up dependent test. Using
RESOURCE_LOCK. Currently, it looks something like this:

===================================================
set_test_properties(run_simulation PROPERTIES FIXTURES_SETUP
${simulation_name})
set_test_properties(compare_results PROPERTIES FIXTURES_REQUIRED
${simulation_name})

[...]

set_test_properties(run_simulation compare_results PROPERTIES RESOURCE_LOCK
data_${simulation_name})
===================================================

If I include the line of RESOURCE_LOCK, the compare_results test will
failed with permission denied. Removing it will make it run fine. I don't
think I'm doing anything wrong though - why such behaviour is observed?

Thanks,
QT
-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
https://cmake.org/mailman/listinfo/cmake

Reply via email to