diff options
author | 2023-01-05 19:35:44 +0000 | |
---|---|---|
committer | 2023-01-05 19:35:44 +0000 | |
commit | 14e310aa6724bc975168436adff907afb35e382c (patch) | |
tree | b0e91e27f49019b52364bc4c7d3f115f79b4aaba | |
parent | 6afb4d7e9fd83eefa538ee7bddeec7a426ceea97 (diff) | |
parent | 75332ab005c5fba928d5d7030738b2582345057e (diff) |
Revert "Re-enable lint tests" am: 582af783cd am: 67a4853b1c am: 75332ab005
Original change: https://android-review.googlesource.com/c/platform/packages/modules/Permission/+/2377268
Change-Id: I6e5d0fb37f6f46f077a4d5a76dd5ec649be8c504
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
-rw-r--r-- | SafetyCenter/ConfigLintChecker/Android.bp | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/SafetyCenter/ConfigLintChecker/Android.bp b/SafetyCenter/ConfigLintChecker/Android.bp index cb01188d1..08881ccd5 100644 --- a/SafetyCenter/ConfigLintChecker/Android.bp +++ b/SafetyCenter/ConfigLintChecker/Android.bp @@ -44,6 +44,12 @@ java_library_host { java_test_host { name: "ConfigLintCheckerTest", + // 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: [ "tests/java/**/*.kt", ], @@ -55,15 +61,5 @@ java_test_host { ], test_options: { 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", - } - ], }, } |