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

Commit 4b9716c8 authored by Xiang Wang's avatar Xiang Wang
Browse files

Update test mapping for all headroom tests

Bug: 346604998
Flag: TEST_ONLY
Test: atest :postsubmit
Change-Id: I3278a0114ba4783acdb0ace9138102518521aed3
parent e64e000f
Loading
Loading
Loading
Loading
+26 −0
Original line number Diff line number Diff line
@@ -112,6 +112,32 @@
    {
      "file_patterns": ["Bugreport[^/]*\\.java"],
      "name": "ShellTests"
    },
    {
      "file_patterns": [
        "CpuHeadroom[^/]*",
        "GpuHeadroom[^/]*",
        "health/SystemHealthManager\\.java"
      ],
      "name": "CtsOsTestCases",
      "options": [
        {"include-filter": "android.os.health.cts.HeadroomTest"},
        {"exclude-annotation": "androidx.test.filters.FlakyTest"},
        {"exclude-annotation": "org.junit.Ignore"}
      ]
    },
    {
      "file_patterns": [
        "CpuHeadroom[^/]*",
        "GpuHeadroom[^/]*",
        "health/SystemHealthManager\\.java"
      ],
      "name": "FrameworksCoreTests",
      "options": [
        {"include-filter": "android.os.SystemHealthManagerUnitTest"},
        {"exclude-annotation": "androidx.test.filters.FlakyTest"},
        {"exclude-annotation": "org.junit.Ignore"}
      ]
    }
  ],
  "ravenwood-presubmit": [
+16 −0
Original line number Diff line number Diff line
@@ -26,6 +26,22 @@
    {
      "name": "NativeThermalUnitTestCases",
       "file_patterns": ["thermal.cpp"]
    },
    {
       "file_patterns": ["system_health.cpp"],
       "name": "NativeSystemHealthUnitTestCases",
       "options": [
          {"exclude-annotation": "androidx.test.filters.FlakyTest"},
          {"exclude-annotation": "org.junit.Ignore"}
        ]
    },
    {
      "file_patterns": ["system_health.cpp"],
      "name": "CtsSystemHealthTestCases",
      "options": [
        {"exclude-annotation": "androidx.test.filters.FlakyTest"},
        {"exclude-annotation": "org.junit.Ignore"}
      ]
    }
  ]
}
+17 −0
Original line number Diff line number Diff line
@@ -15,5 +15,22 @@
        {"exclude-annotation": "org.junit.Ignore"}
      ]
    }
  ],
  "postsubmit": [
    {
      "name": "CtsSystemHealthTestCases",
      "options": [
        {"exclude-annotation": "androidx.test.filters.FlakyTest"},
        {"exclude-annotation": "org.junit.Ignore"}
      ]
    },
    {
      "name": "CtsOsTestCases",
      "options": [
        {"include-filter": "android.os.health.cts.HeadroomTest"},
        {"exclude-annotation": "androidx.test.filters.FlakyTest"},
        {"exclude-annotation": "org.junit.Ignore"}
      ]
    }
  ]
}
 No newline at end of file