diff options
author | 2023-01-05 18:58:13 +0000 | |
---|---|---|
committer | 2023-01-05 18:58:13 +0000 | |
commit | 75332ab005c5fba928d5d7030738b2582345057e (patch) | |
tree | ba33ad91cb704b0981b4fc0d3f376fceb21f41ee | |
parent | 7b3c09b9c5d2c25535c751a7e229827018fbf2f4 (diff) | |
parent | 67a4853b1cc9ee22cf70ead94c0da96b112f29a3 (diff) |
Revert "Re-enable lint tests" am: 582af783cd am: 67a4853b1c
Original change: https://android-review.googlesource.com/c/platform/packages/modules/Permission/+/2377268
Change-Id: I3f63433d7748f26278dbdb79b74b9ddaf4f8e9c3
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 280de8cae..bbd1fccf6 100644 --- a/SafetyCenter/ConfigLintChecker/Android.bp +++ b/SafetyCenter/ConfigLintChecker/Android.bp @@ -40,6 +40,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", ], @@ -51,15 +57,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", - } - ], }, } |