diff options
author | apatrick@chromium.org <apatrick@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-11-15 21:44:35 +0000 |
---|---|---|
committer | apatrick@chromium.org <apatrick@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-11-15 21:44:35 +0000 |
commit | e23a70d98ffcb0b9140b757ec01dbf7d1d3cf720 (patch) | |
tree | 17a8d2785ba7a2b5ac232488559f8becbdcdfaac /chrome/test/test_launcher_utils.h | |
parent | 11fc764f26abbf31211618f538134b8bc98f4490 (diff) | |
download | chromium_src-e23a70d98ffcb0b9140b757ec01dbf7d1d3cf720.zip chromium_src-e23a70d98ffcb0b9140b757ec01dbf7d1d3cf720.tar.gz chromium_src-e23a70d98ffcb0b9140b757ec01dbf7d1d3cf720.tar.bz2 |
Removed --use-gl=osmesa as default for ui and browser tests.
Some tests require regular GL and appear not to be flaky.
This command line switch is now only passed to tests that are flaky on bots using regular GL.
TEST=run affected tests locally, try
BUG=55477, 62602
Review URL: http://codereview.chromium.org/4784001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66177 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test/test_launcher_utils.h')
-rw-r--r-- | chrome/test/test_launcher_utils.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/chrome/test/test_launcher_utils.h b/chrome/test/test_launcher_utils.h index b4c1ac0..f81edc6 100644 --- a/chrome/test/test_launcher_utils.h +++ b/chrome/test/test_launcher_utils.h @@ -6,6 +6,8 @@ #define CHROME_TEST_TEST_LAUNCHER_UTILS_H_ #pragma once +#include <string> + #include "base/compiler_specific.h" #include "base/file_path.h" @@ -21,6 +23,12 @@ void PrepareBrowserCommandLineForTests(CommandLine* command_line); // Overrides the current process' user data dir. bool OverrideUserDataDir(const FilePath& user_data_dir) WARN_UNUSED_RESULT; +// Override the GL implementation. The names are the same as for the --use-gl +// command line switch. Use the constants in the gfx namespace. +bool OverrideGLImplementation( + CommandLine* command_line, + const std::string& implementation_name) WARN_UNUSED_RESULT; + } // namespace test_launcher_utils #endif // CHROME_TEST_TEST_LAUNCHER_UTILS_H_ |