kfdtest: Do not set GTEST_FLAG throw_on_failure
This change is from commit a505c9bb("kfdtest: Do not set GTEST_FLAG
throw_on_failure").
But it is unexpected to reverted by commit b86f1456("kfdtest: Clean up
comments"). So add this change back.
Fix: b86f1456
Change-Id: Ia9e99c9ca17b99aab62b4db55017018ddae43dfb
Signed-off-by: xinhui pan <xinhui.pan@amd.com>
[ROCm/ROCR-Runtime commit: a6287ba919]
Этот коммит содержится в:
@@ -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 exception
|
||||
testing::GTEST_FLAG(throw_on_failure) = true;
|
||||
testing::InitGoogleTest(&argc, argv);
|
||||
|
||||
CommandLineArguments args;
|
||||
|
||||
Ссылка в новой задаче
Block a user