summaryrefslogtreecommitdiff
path: root/libnativebridge/tests
diff options
context:
space:
mode:
author Presubmit Automerger Backend <android-build-presubmit-automerger-backend@system.gserviceaccount.com> 2022-08-12 17:47:13 +0000
committer Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> 2022-08-12 17:47:13 +0000
commit927a38df22df33cce72684e7b47e79d23c76e33e (patch)
tree89838c7c0681a5e2554e4f422794e25ac18f5f36 /libnativebridge/tests
parentbbad18b3e947f0b4cf0e73f46d8c6a6a972529ed (diff)
parenta5a7138dd7cbc185d5e8a1302d8d8c1fa2c246c5 (diff)
[automerge] Disable pre-submit host unit-testing for `libnativebridge-tests`. 2p: 7747ac6d13 2p: 582bbcf317 am: a5a7138dd7
Original change: https://googleplex-android-review.googlesource.com/c/platform/art/+/19606714 Change-Id: I460007a666e31c9e8d280384aa169a80abd6437a Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
Diffstat (limited to 'libnativebridge/tests')
-rw-r--r--libnativebridge/tests/Android.bp8
1 files changed, 8 insertions, 0 deletions
diff --git a/libnativebridge/tests/Android.bp b/libnativebridge/tests/Android.bp
index b787fbabb6..57d26c0316 100644
--- a/libnativebridge/tests/Android.bp
+++ b/libnativebridge/tests/Android.bp
@@ -110,6 +110,14 @@ cc_test {
// unloading, so each test needs to be its own process.
test_per_src: true,
+ // Disable pre-submit host unit-testing for this test module, as
+ // it is not compatible with TradeFed (because of the use of the
+ // `test_per_src` feature above) and meant to be executed with the
+ // `runtests.sh` script instead.
+ test_options: {
+ unit_test: false,
+ },
+
srcs: [
"NativeBridgeApi.c",
"CodeCacheCreate_test.cpp",