Annotate GpuWorkTracepointTest with RequiresDevice
GpuWorkTracepointTest test requires GPU driver to generate kernel
tracepoint events which should only be tested with real devices,
but not with emulators. Replacing RestrictedBuildTest annotation
with RequiresDevice to correctly indicate this.
Bug: b/352538275
Test: atest GpuWorkTracepointTest
Flag: EXEMPT test fix
Change-Id: I57f5f035a6ea7ac12e6fb6c619385af75defda2a
diff --git a/services/gpuservice/vts/TEST_MAPPING b/services/gpuservice/vts/TEST_MAPPING
index b33e962..a809be1 100644
--- a/services/gpuservice/vts/TEST_MAPPING
+++ b/services/gpuservice/vts/TEST_MAPPING
@@ -1,7 +1,13 @@
{
"presubmit": [
{
- "name": "GpuServiceVendorTests"
+ "name": "GpuServiceVendorTests",
+ "options": [
+ {
+ // Exclude test methods that require a physical device to run.
+ "exclude-annotation": "android.platform.test.annotations.RequiresDevice"
+ }
+ ]
}
]
}