diff options
author | alokp@chromium.org <alokp@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-07-28 17:34:33 +0000 |
---|---|---|
committer | alokp@chromium.org <alokp@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-07-28 17:34:33 +0000 |
commit | 8eb8a60ba65bfafada0996bd5b844caf59ae9ebe (patch) | |
tree | 73e67bb725a70354613251c73c3cc07c210dd584 /chrome/test | |
parent | 45aec5823a15b78b9d5939efbbbeaf92fa7511a1 (diff) | |
download | chromium_src-8eb8a60ba65bfafada0996bd5b844caf59ae9ebe.zip chromium_src-8eb8a60ba65bfafada0996bd5b844caf59ae9ebe.tar.gz chromium_src-8eb8a60ba65bfafada0996bd5b844caf59ae9ebe.tar.bz2 |
Enabled pepper3d test. Explicitly specified Mesa renderer to use for the 3d tests.
BUG=46662
TEST=Manually test ui_tests.PepperTester.Pepper3D and npapi_pepper_test_plugin.
Review URL: http://codereview.chromium.org/3067007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53976 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test')
-rw-r--r-- | chrome/test/ui/pepper_uitest.cc | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/chrome/test/ui/pepper_uitest.cc b/chrome/test/ui/pepper_uitest.cc index 664a351..dccbddc 100644 --- a/chrome/test/ui/pepper_uitest.cc +++ b/chrome/test/ui/pepper_uitest.cc @@ -3,6 +3,8 @@ // found in the LICENSE file. #include "base/file_path.h" + +#include "app/app_switches.h" #include "chrome/common/chrome_switches.h" #include "chrome/test/ui/npapi_test_helper.h" #include "chrome/test/ui_test_utils.h" @@ -28,6 +30,9 @@ class PepperTester : public NPAPITesterBase { launch_arguments_.AppendSwitch(switches::kNoSandbox); launch_arguments_.AppendSwitch(switches::kInternalPepper); launch_arguments_.AppendSwitch(switches::kEnableGPUPlugin); + // Use Mesa software renderer so it can run on testbots without any + // graphics hardware. + launch_arguments_.AppendSwitchWithValue(switches::kUseGL, "osmesa"); NPAPITesterBase::SetUp(); } }; @@ -36,8 +41,7 @@ class PepperTester : public NPAPITesterBase { // TODO(alokp): Enable the test after making sure it works on all platforms // and buildbots have OpenGL support. #if defined(OS_WIN) -// Disabled after failing on buildbots: crbug/46662 -TEST_F(PepperTester, DISABLED_Pepper3D) { +TEST_F(PepperTester, Pepper3D) { const FilePath dir(FILE_PATH_LITERAL("pepper")); const FilePath file(FILE_PATH_LITERAL("pepper_3d.html")); GURL url = ui_test_utils::GetTestUrl(dir, file); |