File tree Expand file tree Collapse file tree
src/com/android/tests/gpuservice Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11{
22 "presubmit": [
33 {
4- "name": "GpuServiceVendorTests"
4+ "name": "GpuServiceVendorTests",
5+ "options": [
6+ {
7+ // Exclude test methods that require a physical device to run.
8+ "exclude-annotation": "android.platform.test.annotations.RequiresDevice"
9+ }
10+ ]
511 }
612 ]
713}
Original file line number Diff line number Diff line change 1919import static org .junit .Assert .fail ;
2020import static org .junit .Assume .assumeTrue ;
2121
22- import android .platform .test .annotations .RestrictedBuildTest ;
22+ import android .platform .test .annotations .RequiresDevice ;
2323
2424import com .android .tradefed .testtype .DeviceJUnit4ClassRunner ;
2525import com .android .tradefed .testtype .junit4 .BaseHostJUnit4Test ;
@@ -63,7 +63,7 @@ public void testReadTracingEvents() throws Exception {
6363 }
6464
6565 @ VsrTest (requirements ={"VSR-3.3-004" })
66- @ RestrictedBuildTest
66+ @ RequiresDevice
6767 @ Test
6868 public void testGpuWorkPeriodTracepointFormat () throws Exception {
6969 CommandResult commandResult = getDevice ().executeShellV2Command (
You can’t perform that action at this time.
0 commit comments