Remove workaround affecting --list-tests --gtest_filter=X.

One of the multiple workarounds added in https://crrev.com/c/3062240.

It makes `--list-tests --gtest_filter=X` behave as if it was just
`--list-tests`. Not sure why this was necessary, bots appear to work
without it?.. Could be something that changed since that CL?

Bug: angleproject:7508
Change-Id: I9988add40ddf3168e00cea2739e5a9209f633161
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3821374
Reviewed-by: Yuxin Hu <yuxinhu@google.com>
This commit is contained in:
Roman Lavrov 2022-08-09 16:48:06 -04:00
Родитель 876da4ae9c
Коммит 3d0faa02e2
1 изменённых файлов: 0 добавлений и 8 удалений

Просмотреть файл

@ -1077,14 +1077,6 @@ TestSuite::TestSuite(int *argc, char **argv, std::function<void()> registerTests
mTestResults.currentTestTimeout = mTestTimeout;
#if defined(ANGLE_PLATFORM_ANDROID)
// Workaround for the Android test runner requiring a GTest test list.
if (mListTests && filterArgIndex.valid())
{
DeleteArg(argc, argv, filterArgIndex.value());
}
#endif // defined(ANGLE_PLATFORM_ANDROID)
if (!mDisableCrashHandler)
{
// Note that the crash callback must be owned and not use global constructors.