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

Commit c30fb01e authored by Edwin Wong's avatar Edwin Wong
Browse files

Replace testWidevine23FpsH264Fixed with a shorter test.

Select WidevineYouTubePerformanceTests#testL3Cenc480P30
so the test does not exceed one minute during presubmit
testing.

Requires adding @Presubmit annotation to testL3Cenc480P30.
This is because some existing tests that use @Presubmit
annotation take precedent over the rest of the tests in
TEST_MAPPING file. If we do not use @Presubmit annotation,
the new test will not be executed. Using @Presubmit annotation
has the advantage of not having to explicitly specify
testL3Cenc480P30 in the include-filter.

Test: atest --test-mapping [directory with TEST_MAPPING]
  e.g. from frameworks/av, run "atest --test-mapping drm

Bug: 168159824
Change-Id: I283ed9b1fe7f5554c4ae6c63458a954f2c7b51e1
parent c3ffbec5
Loading
Loading
Loading
Loading
+1 −9
Original line number Diff line number Diff line
@@ -14,17 +14,9 @@
        },
        {
          "include-filter": "com.google.android.media.gts.WidevineGenericOpsTests"
        }
      ]
    },
    {
      "name": "GtsExoPlayerTestCases",
      "options" : [
        {
          "include-annotation": "android.platform.test.annotations.SocPresubmit"
        },
        {
          "include-filter": "com.google.android.exoplayer.gts.DashTest#testWidevine23FpsH264Fixed"
          "include-filter": "com.google.android.media.gts.WidevineYouTubePerformanceTests"
        }
      ]
    }
+1 −9
Original line number Diff line number Diff line
@@ -9,17 +9,9 @@
        },
        {
          "include-filter": "com.google.android.media.gts.WidevineGenericOpsTests"
        }
      ]
    },
    {
      "name": "GtsExoPlayerTestCases",
      "options" : [
        {
          "include-annotation": "android.platform.test.annotations.SocPresubmit"
        },
        {
          "include-filter": "com.google.android.exoplayer.gts.DashTest#testWidevine23FpsH264Fixed"
          "include-filter": "com.google.android.media.gts.WidevineYouTubePerformanceTests"
        }
      ]
    }
+1 −9
Original line number Diff line number Diff line
@@ -8,17 +8,9 @@
        },
        {
          "include-filter": "com.google.android.media.gts.WidevineGenericOpsTests"
        }
      ]
    },
    {
      "name": "GtsExoPlayerTestCases",
      "options" : [
        {
          "include-annotation": "android.platform.test.annotations.SocPresubmit"
        },
        {
          "include-filter": "com.google.android.exoplayer.gts.DashTest#testWidevine23FpsH264Fixed"
          "include-filter": "com.google.android.media.gts.WidevineYouTubePerformanceTests"
        }
      ]
    }
+1 −9
Original line number Diff line number Diff line
@@ -26,17 +26,9 @@
                },
                {
                    "include-filter": "com.google.android.media.gts.WidevineGenericOpsTests"
                }
            ]
        },
        {
            "name": "GtsExoPlayerTestCases",
            "options" : [
                {
                    "include-annotation": "android.platform.test.annotations.SocPresubmit"
                },
                {
                    "include-filter": "com.google.android.exoplayer.gts.DashTest#testWidevine23FpsH264Fixed"
                    "include-filter": "com.google.android.media.gts.WidevineYouTubePerformanceTests"
                }
            ]
        }