How to add timeout to test when using Google Testing framework
Google test does not offer something similar. http://code.google.com/p/googletest/issues/detail?id=348
You would have to add this functionality in C++
You can try to set test properties through cmake: https://cmake.org/cmake/help/v3.8/prop_test/TIMEOUT.html
example:
set_tests_properties(${Tests} PROPERTIES TIMEOUT 10)