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:
@@ -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",
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user