From f951e641892104b17157218c42b79a12c284c55d Mon Sep 17 00:00:00 2001 From: Edwin Wong Date: Sun, 26 Jan 2020 15:46:00 -0800 Subject: [PATCH] Add Drm playback tests to TreeHugger presubmit. Most players are using exoplayer, and Widevine DRM is required. These CL adds three tests to TreeHugger presubmit to reduce regression. This CL adds three tests to presubmit process, most time is spent running one exoplayer test. Test: time atest bug: 148288152 Change-Id: I57945568586a585812d41491dbbf57c6f30fda4b --- media/TEST_MAPPING | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 media/TEST_MAPPING diff --git a/media/TEST_MAPPING b/media/TEST_MAPPING new file mode 100644 index 0000000000000..6dc0c6f5b6767 --- /dev/null +++ b/media/TEST_MAPPING @@ -0,0 +1,32 @@ +{ + "presubmit": [ + { + "name": "GtsMediaTestCases", + "options" : [ + { + "include-annotation": "android.platform.test.annotations.Presubmit" + }, + { + "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" + } + ] + } + ], + "imports": [ + { + "path": "frameworks/av/drm/mediadrm/plugins" + } + ] +} +