From 175bd1ed3d0f4f76514246a8ba09447debf9c22f Mon Sep 17 00:00:00 2001 From: xinhui pan Date: Tue, 11 Sep 2018 10:19:56 +0800 Subject: [PATCH] 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 [ROCm/ROCR-Runtime commit: a6287ba919dcf7c9aae165183dcace1ce03b62aa] --- projects/rocr-runtime/tests/kfdtest/src/KFDTestMain.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/projects/rocr-runtime/tests/kfdtest/src/KFDTestMain.cpp b/projects/rocr-runtime/tests/kfdtest/src/KFDTestMain.cpp index 98d186d9ee..7715bd06a1 100644 --- a/projects/rocr-runtime/tests/kfdtest/src/KFDTestMain.cpp +++ b/projects/rocr-runtime/tests/kfdtest/src/KFDTestMain.cpp @@ -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;