diff options
-rw-r--r-- | libnativebridge/tests/Android.bp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/libnativebridge/tests/Android.bp b/libnativebridge/tests/Android.bp index a42f3d9b4c..603f97a824 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", |