Commit 6b21dd3b authored by Francois Doray's avatar Francois Doray Committed by Commit Bot

Disable WebVrBrowserTestOpenVrDisabled.TestWebVrNoDevicesWithoutOpenVr.

TBR=acondor@chromium.org

Bug: 890380
Cq-Include-Trybots: luci.chromium.try:android_optional_gpu_tests_rel;luci.chromium.try:linux_optional_gpu_tests_rel;luci.chromium.try:linux_vr;luci.chromium.try:mac_optional_gpu_tests_rel;luci.chromium.try:win_optional_gpu_tests_rel
Change-Id: Ibce268155e198a855e6815bced44578001b8279e
Reviewed-on: https://chromium-review.googlesource.com/1252083Reviewed-by: default avatarFrançois Doray <fdoray@chromium.org>
Commit-Queue: François Doray <fdoray@chromium.org>
Cr-Commit-Position: refs/heads/master@{#595170}
parent 33015a01
......@@ -3,6 +3,8 @@
// found in the LICENSE file.
#include "chrome/browser/vr/test/webvr_browser_test.h"
#include "build/build_config.h"
#include "chrome/browser/vr/test/webxr_vr_browser_test.h"
#include "content/public/test/browser_test_utils.h"
......@@ -78,8 +80,14 @@ IN_PROC_BROWSER_TEST_F(WebXrVrBrowserTestWebXrDisabled,
// Tests that WebVR does not return any devices if OpenVR support is disabled.
// Since WebVR isn't actually used, we can remove the GPU requirement.
#if defined(OS_WIN)
#define MAYBE_TestWebVrNoDevicesWithoutOpenVr \
DISABLED_TestWebVrNoDevicesWithoutOpenVr
#else
#define MAYBE_TestWebVrNoDevicesWithoutOpenVr TestWebVrNoDevicesWithoutOpenVr
#endif
IN_PROC_BROWSER_TEST_F(WebVrBrowserTestOpenVrDisabled,
TestWebVrNoDevicesWithoutOpenVr) {
MAYBE_TestWebVrNoDevicesWithoutOpenVr) {
LoadUrlAndAwaitInitialization(GetHtmlTestFile("generic_webvr_page"));
EXPECT_FALSE(XrDeviceFound())
<< "Found a VRDisplay even with OpenVR disabled";
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment