diff options
author | jcampan@chromium.org <jcampan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-01 21:53:37 +0000 |
---|---|---|
committer | jcampan@chromium.org <jcampan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-01 21:53:37 +0000 |
commit | 7d7f02c08929264ff412785de57aba23c607cb51 (patch) | |
tree | 5f22544a2994473d70aa4bc86f9d01eb455149e4 /chrome/test/browser | |
parent | 379c2b1a13d25f8457e0d602cab20e42961825bd (diff) | |
download | chromium_src-7d7f02c08929264ff412785de57aba23c607cb51.zip chromium_src-7d7f02c08929264ff412785de57aba23c607cb51.tar.gz chromium_src-7d7f02c08929264ff412785de57aba23c607cb51.tar.bz2 |
Browser tests would launch disabled tests.
The tests would then not be run by GUnit, polluting the outputs.
This CL makes sure we don't launch the disabled tests.
BUG=None
TEST=Run the browser tests. Look at the output, it should not show disabled tests have been run.
Review URL: http://codereview.chromium.org/150177
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19767 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test/browser')
-rw-r--r-- | chrome/test/browser/browser_test_runner.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/test/browser/browser_test_runner.cc b/chrome/test/browser/browser_test_runner.cc index b508d12..b32e64e 100644 --- a/chrome/test/browser/browser_test_runner.cc +++ b/chrome/test/browser/browser_test_runner.cc @@ -57,6 +57,10 @@ bool GetTestList(const CommandLine& command_line, test_case = line; continue; } + + if (line.find("DISABLED") != std::string::npos) + continue; // Skip disabled tests. + // We are dealing with a test. test_list->push_back(test_case + line); } |