Merge "Re-enable SystemUILintCheckerTest" am: 891a1cc9fa am: 989592b7c2
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2383856 Change-Id: I2bf0ff93e5071cb19afeafbcdf221b7fe42a8592 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -37,12 +37,6 @@ java_library_host {
|
|||||||
|
|
||||||
java_test_host {
|
java_test_host {
|
||||||
name: "SystemUILintCheckerTest",
|
name: "SystemUILintCheckerTest",
|
||||||
// TODO(b/239881504): Since this test was written, Android
|
|
||||||
// Lint was updated, and now includes classes that were
|
|
||||||
// compiled for java 15. The soong build doesn't support
|
|
||||||
// java 15 yet, so we can't compile against "lint". Disable
|
|
||||||
// the test until java 15 is supported.
|
|
||||||
enabled: false,
|
|
||||||
srcs: [
|
srcs: [
|
||||||
"tests/**/*.kt",
|
"tests/**/*.kt",
|
||||||
"tests/**/*.java",
|
"tests/**/*.java",
|
||||||
@@ -59,5 +53,19 @@ java_test_host {
|
|||||||
],
|
],
|
||||||
test_options: {
|
test_options: {
|
||||||
unit_test: true,
|
unit_test: true,
|
||||||
|
tradefed_options: [
|
||||||
|
{
|
||||||
|
// lint bundles in some classes that were built with older versions
|
||||||
|
// of libraries, and no longer load. Since tradefed tries to load
|
||||||
|
// all classes in the jar to look for tests, it crashes loading them.
|
||||||
|
// Exclude these classes from tradefed's search.
|
||||||
|
name: "exclude-paths",
|
||||||
|
value: "org/apache",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: "exclude-paths",
|
||||||
|
value: "META-INF",
|
||||||
|
},
|
||||||
|
],
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user