Hi all,
It seems that there is problem existing with setting and unsetting already
existing environment variable like LD_LIBRARY_PATH for a particular test.
If somebody knows any improvement in that regard please let me know.
Actually i want to unset and set the LD_LIBRARY_PATh varibale for my tests
it is something like this:
add_executable(e1 c1.cpp)
add_test(t1 e1)
set_tests_properties(t1 PROPERTIES ENVIRONMENT LD_LIBRARY_PATH=) #for
setting the library path to empty
OR
set_tests_properties(t1 PROPERTIES ENVIRONMENT LD_LIBRARY_PATH=/usr/lib)
#i.e some other path
This thing actually does work with my case. iam using "make test".
If iam doing soemthing wrong please let me know or if this thing is in
progress of development kindly let me know the alternative that can be done
for achieving this thing.
Regards-
ankit jain
_______________________________________________
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake