summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Giulio Fiscella <fiscella@google.com> 2023-01-05 13:25:47 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2023-01-05 13:25:47 +0000
commit582af783cdb33620dbaeb3206ef3bcb2131b9671 (patch)
tree6b83d7aef147beb0a6ca249255dec1b280d315f3
parent263465250584600e597ed339b3bee7d9c8605027 (diff)
Revert "Re-enable lint tests"
This reverts commit 263465250584600e597ed339b3bee7d9c8605027. Reason for revert: Test is still failing in presubmit Change-Id: Ic2052cd02099256b96dd221d6bde660c1d78224e
-rw-r--r--SafetyCenter/ConfigLintChecker/Android.bp16
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",
- }
- ],
},
}