Remove RestrictFilter() function and RSAPerformance test
Since we want to migrate to using GTEST_SKIP to skip unit tests instead of GTEST_FILTER, we can remove the RestrictFilter() function which filters the tests out using GTEST_FILTER. To do this, the RSAPerformance test needs to be removed, which is acceptable since no one uses this test anymore. However, b/299135804 is being used to track a new way to either execute/track permance. Bug: 251240681, 299135804 Change-Id: Ife59c468ee127f4c39d3be91707ca38a061b7895
This commit is contained in:
@@ -416,7 +416,6 @@ bool WvCdmTestBase::Initialize(int argc, const char* const argv[],
|
||||
const std::string& extra_help_text) {
|
||||
Properties::Init();
|
||||
bool is_cast_receiver = false;
|
||||
bool filter_tests = true;
|
||||
bool show_usage = false;
|
||||
int verbosity = 0;
|
||||
|
||||
@@ -436,8 +435,6 @@ bool WvCdmTestBase::Initialize(int argc, const char* const argv[],
|
||||
show_usage = true;
|
||||
} else if (arg == "--verbose" || arg == "-v") {
|
||||
++verbosity;
|
||||
} else if (arg == "--no_filter") {
|
||||
filter_tests = false;
|
||||
} else if (arg == "--cast") {
|
||||
is_cast_receiver = true;
|
||||
} else if (arg == "--fake_sleep") {
|
||||
@@ -568,12 +565,6 @@ bool WvCdmTestBase::Initialize(int argc, const char* const argv[],
|
||||
// support being a cast receiver.
|
||||
wvoec::global_features.set_cast_receiver(is_cast_receiver);
|
||||
}
|
||||
// If the user requests --no_filter, we don't change the filter, otherwise, we
|
||||
// filter out features that are not supported.
|
||||
if (filter_tests) {
|
||||
::testing::GTEST_FLAG(filter) =
|
||||
wvoec::global_features.RestrictFilter(::testing::GTEST_FLAG(filter));
|
||||
}
|
||||
|
||||
skip_sleepy_tests_ = UnwrapOptionalBool(skip_sleepy_tests, skip_slow_tests);
|
||||
skip_decryption_stress_tests_ =
|
||||
|
||||
Reference in New Issue
Block a user