Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(398)

Side by Side Diff: ui/gl/gl_image_ozone_native_pixmap_drm_unittest.cc

Issue 2071703002: Disable remaining tests that fail on the Linux desktop CrOS GN builds. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix compile failure, disable tests instead of commenting them out Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « content/test/ppapi/ppapi_browsertest.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include <fcntl.h> 5 #include <fcntl.h>
6 #include <libdrm/i915_drm.h> 6 #include <libdrm/i915_drm.h>
7 #include <linux/types.h> 7 #include <linux/types.h>
8 #include <stdint.h> 8 #include <stdint.h>
9 #include <stdio.h> 9 #include <stdio.h>
10 #include <sys/mman.h> 10 #include <sys/mman.h>
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 return image; 122 return image;
123 } 123 }
124 124
125 unsigned GetTextureTarget() const { return GL_TEXTURE_EXTERNAL_OES; } 125 unsigned GetTextureTarget() const { return GL_TEXTURE_EXTERNAL_OES; }
126 126
127 const uint8_t* GetImageColor() { return kImageColor; } 127 const uint8_t* GetImageColor() { return kImageColor; }
128 128
129 private: 129 private:
130 }; 130 };
131 131
132 INSTANTIATE_TYPED_TEST_CASE_P(GLImageOzoneNativePixmapDrm, 132
133 // TODO(crbug.com/618516) - The tests in this file can only be run
134 // on a real device, and not on linux desktop builds, so they are
135 // disabled until they can correctly detect the environment and do
136 INSTANTIATE_TYPED_TEST_CASE_P(DISABLED_GLImageOzoneNativePixmapDrm,
133 GLImageTest, 137 GLImageTest,
134 GLImageOzoneNativePixmapDrmTestDelegate); 138 GLImageOzoneNativePixmapDrmTestDelegate);
135 139
136 INSTANTIATE_TYPED_TEST_CASE_P(GLImageOzoneNativePixmapDrm, 140 INSTANTIATE_TYPED_TEST_CASE_P(DISABLED_GLImageOzoneNativePixmapDrm,
137 GLImageBindTest, 141 GLImageBindTest,
138 GLImageOzoneNativePixmapDrmTestDelegate); 142 GLImageOzoneNativePixmapDrmTestDelegate);
139 143
140 } // namespace 144 } // namespace
141 } // namespace gl 145 } // namespace gl
OLDNEW
« no previous file with comments | « content/test/ppapi/ppapi_browsertest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698