aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--robolectric/Android.bp4
-rw-r--r--shadows/supportv4/Android.bp4
2 files changed, 8 insertions, 0 deletions
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,
+ },
}