From 5e7448b8f02dea5683dff2310cd3a00d7d031996 Mon Sep 17 00:00:00 2001 From: Remi NGUYEN VAN Date: Thu, 27 Aug 2020 10:09:25 +0900 Subject: [PATCH] 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 --- tests/net/Android.bp | 4 ++++ tests/net/deflake/Android.bp | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/tests/net/Android.bp b/tests/net/Android.bp index 124b6609f687c..464505ec6136b 100644 --- a/tests/net/Android.bp +++ b/tests/net/Android.bp @@ -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", diff --git a/tests/net/deflake/Android.bp b/tests/net/deflake/Android.bp index b1b017131c64c..828f59bd8279c 100644 --- a/tests/net/deflake/Android.bp +++ b/tests/net/deflake/Android.bp @@ -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",