From 41358a4970c9655dea799c66a6ad597744250070 Mon Sep 17 00:00:00 2001 From: Julien Desprez Date: Thu, 11 Mar 2021 02:49:58 +0000 Subject: Exclude robotests from unit_tests They don't currently work well together. Change-Id: I844146b51a259199fcf08f8d9946473df65d64d0 Test: presubmit Bug: 180736967 --- robolectric/Android.bp | 4 ++++ shadows/supportv4/Android.bp | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/robolectric/Android.bp b/robolectric/Android.bp index c9cc3dac5..90c413da9 100644 --- a/robolectric/Android.bp +++ b/robolectric/Android.bp @@ -84,4 +84,8 @@ java_test_host { "jsr305", ], libs: ["robolectric-host-android_all"], + // Robolectric tests do not work well with unit tests setup yet + test_options: { + unit_test: false, + }, } diff --git a/shadows/supportv4/Android.bp b/shadows/supportv4/Android.bp index f79307681..a1d30f8d9 100644 --- a/shadows/supportv4/Android.bp +++ b/shadows/supportv4/Android.bp @@ -64,4 +64,8 @@ java_test_host { "jsr305", ], libs: ["robolectric-host-android_all"], + // Robolectric tests do not work well with unit tests setup yet + test_options: { + unit_test: false, + }, } -- cgit v1.2.3