Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 88b781fb authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Annotate GpuWorkTracepointTest with RequiresDevice" into android15-tests-dev

parents d0469c5b 64199fb7
Loading
Loading
Loading
Loading
+7 −1
Original line number Original line Diff line number Diff line
{
{
  "presubmit": [
  "presubmit": [
    {
    {
      "name": "GpuServiceVendorTests"
      "name": "GpuServiceVendorTests",
      "options": [
        {
          // Exclude test methods that require a physical device to run.
          "exclude-annotation": "android.platform.test.annotations.RequiresDevice"
        }
      ]
    }
    }
  ]
  ]
}
}
+2 −2
Original line number Original line Diff line number Diff line
@@ -19,7 +19,7 @@ import static org.junit.Assert.assertEquals;
import static org.junit.Assert.fail;
import static org.junit.Assert.fail;
import static org.junit.Assume.assumeTrue;
import static org.junit.Assume.assumeTrue;


import android.platform.test.annotations.RestrictedBuildTest;
import android.platform.test.annotations.RequiresDevice;


import com.android.tradefed.testtype.DeviceJUnit4ClassRunner;
import com.android.tradefed.testtype.DeviceJUnit4ClassRunner;
import com.android.tradefed.testtype.junit4.BaseHostJUnit4Test;
import com.android.tradefed.testtype.junit4.BaseHostJUnit4Test;
@@ -63,7 +63,7 @@ public class GpuWorkTracepointTest extends BaseHostJUnit4Test {
    }
    }


    @VsrTest(requirements={"VSR-3.3-004"})
    @VsrTest(requirements={"VSR-3.3-004"})
    @RestrictedBuildTest
    @RequiresDevice
    @Test
    @Test
    public void testGpuWorkPeriodTracepointFormat() throws Exception {
    public void testGpuWorkPeriodTracepointFormat() throws Exception {
        CommandResult commandResult = getDevice().executeShellV2Command(
        CommandResult commandResult = getDevice().executeShellV2Command(