summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdwin Wong <edwinwong@google.com>2020-01-26 15:46:00 -0800
committerEdwin Wong <edwinwong@google.com>2020-01-26 15:47:02 -0800
commitf951e641892104b17157218c42b79a12c284c55d (patch)
treeeaa77d33cfe572b6cb5b9109d21e04f28a727913
parent881254f4cb0252185f32bf32a928636413d52255 (diff)
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
-rw-r--r--media/TEST_MAPPING32
1 files changed, 32 insertions, 0 deletions
diff --git a/media/TEST_MAPPING b/media/TEST_MAPPING
new file mode 100644
index 000000000000..6dc0c6f5b676
--- /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"
+ }
+ ]
+}
+