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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user