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

Commit a5360e8a authored by Xiang Wang's avatar Xiang Wang Committed by Android (Google) Code Review
Browse files

Merge "Update test mapping for all headroom tests" into main

parents 32ca634d 4b9716c8
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
@@ -24,6 +24,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