handle non-zero exit of test executables

gtest exits with error when it fails, but this is no reason to interrupt the build.