summaryrefslogtreecommitdiff
path: root/libnativebridge
diff options
context:
space:
mode:
authorDavid Srbecky <dsrbecky@google.com>2020-04-28 21:36:49 +0100
committerDavid Srbecky <dsrbecky@google.com>2020-05-07 14:45:38 +0100
commit8103e479d8f8447584582b2b70752029f7087776 (patch)
tree53b2be70d195b785fc1d79b6151e42925b4981fe /libnativebridge
parent6a8f8c52da06de506b75fa524a56a30794849261 (diff)
Remove test_per_src from ART tests.
Remove test_per_src since it is not supported by atest. Replace it with gtest_isolate which is transparent to atest, and which still allows us to run tests in parallel. The size of test binaries halves (from 1GB to 0.5GB). Test run-time on host is unchanged. Test run-time on target is 4x faster (tested on walleye). Bug: 147819342 Test: m test-art-host-gtest Test: art/tools/run-gtests.sh Change-Id: Id295af00d08b24baa2e421b0f3313df0b2e56fe9
Diffstat (limited to 'libnativebridge')
-rw-r--r--libnativebridge/tests/Android.bp2
1 files changed, 0 insertions, 2 deletions
diff --git a/libnativebridge/tests/Android.bp b/libnativebridge/tests/Android.bp
index 50bf0abd25..fe70a067b2 100644
--- a/libnativebridge/tests/Android.bp
+++ b/libnativebridge/tests/Android.bp
@@ -80,7 +80,6 @@ cc_defaults {
"art_defaults",
"art_test_defaults",
],
- test_per_src: true,
// TODO(mast): Split up art_gtest_defaults so that it can be used for the
// following without pulling in lots of libs.
target: {
@@ -146,7 +145,6 @@ cc_test {
"art_defaults",
"art_test_defaults",
],
- test_per_src: true,
// TODO(mast): Split up art_gtest_defaults so that it can be used for the
// following without pulling in lots of libs.
target: {