diff options
author | 2022-08-04 19:23:37 +0100 | |
---|---|---|
committer | 2022-08-06 14:48:54 +0000 | |
commit | ccf4f91f7768e8ed14a685f5bbbb0bf03e467081 (patch) | |
tree | dcf8fe784df172870511f7336bbd44015c4b27ff | |
parent | a2e92d33ac6c92f5140a03097c29704af42f2ce6 (diff) |
Disable pre-submit host unit-testing for `libnativebridge-tests`.
Test module `libnativebridge-tests` is not compatible with TradeFed
(because of its use of the `test_per_src` feature) and is meant to be
executed with the `tests/runtests.sh` script instead.
Test: Execute `m host-unit-tests` and check that the generated
`host-unit-tests.zip` test suite does not contain any
`libnativebridge-tests` test case.
Test: art/libnativebridge/tests/runtests.sh
Bug: 241124414
Change-Id: Id10e844adf9f2ef3ca24082f0fc501b5e911481b
-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", |