kfdtest: Do not set GTEST_FLAG throw_on_failure

The flag makes EXPECT_* to behave like ASSERT_*, which actually work against
our favor, so disable the flag.

Change-Id: I2ea1dfeaf916b396593a504d081148abdac0fc70
Signed-off-by: Yong Zhao <Yong.Zhao@amd.com>
This commit is contained in:
Yong Zhao
2018-08-15 12:06:34 -04:00
parent 40c46cc6cb
commit 62f7dc2a48
2 changed files with 19 additions and 26 deletions
-2
View File
@@ -61,8 +61,6 @@ GTEST_API_ int main(int argc, char **argv) {
g_TestENVCaps = ENVCAPS_NOADDEDCAPS | ENVCAPS_64BITLINUX;
g_TestTimeOut = KFD_TEST_DEFAULT_TIMEOUT;
// every fatal fail ( = assert that failed ) will throw an exption
testing::GTEST_FLAG(throw_on_failure) = true;
testing::InitGoogleTest(&argc, argv);
CommandLineArguments args;