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: 148287604
Change-Id: Ia550ad82207f2f85bb38a560a47eef4a087fb810
diff --git a/media/codec2/TEST_MAPPING b/media/codec2/TEST_MAPPING
new file mode 100644
index 0000000..e01f452
--- /dev/null
+++ b/media/codec2/TEST_MAPPING
@@ -0,0 +1,31 @@
+{
+ "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"
+ }
+ ]
+}