diff options
author | Janis Danisevskis <jdanis@google.com> | 2021-11-12 23:39:13 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2021-11-12 23:39:13 +0000 |
commit | 890d296855d5a42673348db9de65649f146b930b (patch) | |
tree | 9e04777d0bfabf77cc8754d03e22175bb1acece7 | |
parent | 69525faa957d46ed997d89b63276c5b5abede727 (diff) | |
parent | ecade46097f94a9d7ddb11574b056321d666f942 (diff) | |
download | open-dice-890d296855d5a42673348db9de65649f146b930b.tar.gz |
Add tests for generated rust bindings. am: ecade46097
Original change: https://android-review.googlesource.com/c/platform/external/open-dice/+/1890804
Change-Id: I2957edf215bc9ef93390456efe91db9057596aba
-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" + } + ] +} |