diff options
Diffstat (limited to 'content/public/test/test_launcher.cc')
-rw-r--r-- | content/public/test/test_launcher.cc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/content/public/test/test_launcher.cc b/content/public/test/test_launcher.cc index 187de3e..596a125 100644 --- a/content/public/test/test_launcher.cc +++ b/content/public/test/test_launcher.cc @@ -183,12 +183,14 @@ bool WrapperTestLauncherDelegate::ShouldRunTest( const std::string& test_name) { all_test_names_.insert(test_case_name + "." + test_name); - if (base::StartsWithASCII(test_name, kManualTestPrefix, true) && + if (base::StartsWith(test_name, kManualTestPrefix, + base::CompareCase::SENSITIVE) && !base::CommandLine::ForCurrentProcess()->HasSwitch(kRunManualTestsFlag)) { return false; } - if (base::StartsWithASCII(test_name, kPreTestPrefix, true)) { + if (base::StartsWith(test_name, kPreTestPrefix, + base::CompareCase::SENSITIVE)) { // We will actually run PRE_ tests, but to ensure they run on the same shard // as dependent tests, handle all these details internally. return false; |