Disable FrameworksNetTests

Ideally the module branch would be unbundled and contain no framework
code or framework tests. Start by disabling the tests (which are not run
in this branch anyway) as they depend on test utils that are updated in
the module projects, but cannot be kept in sync as the latest tests
verify platform behavior that does not exist in the module branch.

Test: m
Bug: 166414751
Change-Id: I96f217663b073ada40710c0c8cdcb39b775eef55
This commit is contained in:
Remi NGUYEN VAN
2020-08-27 10:09:25 +09:00
parent 4fcf8424a7
commit 5e7448b8f0
2 changed files with 8 additions and 0 deletions

View File

@@ -42,6 +42,10 @@ java_defaults {
android_test {
name: "FrameworksNetTests",
// Not built on module branch because these tests depend
// on net-tests-utils (frameworks/libs/net), which could
// be newer than frameworks/base.
enabled: false,
defaults: ["FrameworksNetTests-jni-defaults"],
srcs: [
"java/**/*.java",

View File

@@ -16,6 +16,10 @@
java_test_host {
name: "FrameworksNetDeflakeTest",
// Not built on module branch because these tests depend indirectly
// on net-tests-utils (frameworks/libs/net), which could be newer
// than frameworks/base.
enabled: false,
srcs: ["src/**/*.kt"],
libs: [
"junit",