diff options
author | Janis Danisevskis <jdanis@google.com> | 2021-11-12 23:51:49 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2021-11-12 23:51:49 +0000 |
commit | fe0d6dc09b6010ab633f1516c58fb22bf57b94b9 (patch) | |
tree | 9e04777d0bfabf77cc8754d03e22175bb1acece7 | |
parent | a49d73e90a53b3b8adf2e586fb22349f111aeebe (diff) | |
parent | 890d296855d5a42673348db9de65649f146b930b (diff) | |
download | open-dice-fe0d6dc09b6010ab633f1516c58fb22bf57b94b9.tar.gz |
Add tests for generated rust bindings. am: ecade46097 am: 890d296855
Original change: https://android-review.googlesource.com/c/platform/external/open-dice/+/1890804
Change-Id: Iddfc827e3f18d4abfe79b8bb0d59e5fddfaaf456
-rw-r--r-- | Android.bp | 24 | ||||
-rw-r--r-- | TEST_MAPPING | 10 |
2 files changed, 34 insertions, 0 deletions
@@ -207,3 +207,27 @@ rust_bindgen { host_supported: true, vendor_available: true, } + +rust_test { + name: "libopen_dice_cbor_bindgen_test", + srcs: [ + ":libopen_dice_cbor_bindgen", + ], + crate_name: "open_dice_cbor_bindgen_test", + test_suites: ["general-tests"], + auto_gen_config: true, + clippy_lints: "none", + lints: "none", +} + +rust_test { + name: "libopen_dice_bcc_bindgen_test", + srcs: [ + ":libopen_dice_bcc_bindgen", + ], + crate_name: "open_dice_bcc_bindgen_test", + test_suites: ["general-tests"], + auto_gen_config: true, + clippy_lints: "none", + lints: "none", +} diff --git a/TEST_MAPPING b/TEST_MAPPING new file mode 100644 index 0000000..507c7f5 --- /dev/null +++ b/TEST_MAPPING @@ -0,0 +1,10 @@ +{ + "presubmit": [ + { + "name": "libopen_dice_cbor_bindgen_test" + }, + { + "name": "libopen_dice_bcc_bindgen_test" + } + ] +} |