From a834775078948276f771a8c3eeae3dc62f3a777a Mon Sep 17 00:00:00 2001 From: James Farrell Date: Mon, 11 Sep 2023 15:45:28 +0000 Subject: Disable tests. Rust 1.72 contains https://github.com/rust-lang/rust/pull/112594/ which changes the return value when killing a process that has already exited. This causes test_into_inner_after_wait to fail. The shared_child crate has not been updated since 2021. Apart from patching, there isn't a way to exclude specific tests. Test: cargo2android, automated presubmits. Bug: 295883071 Change-Id: Icc8fbe100ce6ebd4605bffb157cc3d941325fd5c --- Android.bp | 18 ------------------ cargo2android.json | 2 +- 2 files changed, 1 insertion(+), 19 deletions(-) diff --git a/Android.bp b/Android.bp index 54160b7..dddc7ae 100644 --- a/Android.bp +++ b/Android.bp @@ -37,21 +37,3 @@ rust_library { product_available: true, vendor_available: true, } - -rust_test { - name: "shared_child_test_src_lib", - host_supported: true, - crate_name: "shared_child", - cargo_env_compat: true, - cargo_pkg_version: "1.0.0", - srcs: ["src/lib.rs"], - test_suites: ["general-tests"], - auto_gen_config: true, - test_options: { - unit_test: true, - }, - edition: "2018", - rustlibs: [ - "liblibc", - ], -} diff --git a/cargo2android.json b/cargo2android.json index 0e54308..4f8003c 100644 --- a/cargo2android.json +++ b/cargo2android.json @@ -7,5 +7,5 @@ "dependencies": true, "device": true, "run": true, - "tests": true + "tests": false } -- cgit v1.2.3