Skip to content

Commit a834775

Browse files
committed
Disable tests.
Rust 1.72 contains rust-lang/rust#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
1 parent 799b95e commit a834775

File tree

2 files changed

+1
-19
lines changed

2 files changed

+1
-19
lines changed

Android.bp

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -37,21 +37,3 @@ rust_library {
3737
product_available: true,
3838
vendor_available: true,
3939
}
40-
41-
rust_test {
42-
name: "shared_child_test_src_lib",
43-
host_supported: true,
44-
crate_name: "shared_child",
45-
cargo_env_compat: true,
46-
cargo_pkg_version: "1.0.0",
47-
srcs: ["src/lib.rs"],
48-
test_suites: ["general-tests"],
49-
auto_gen_config: true,
50-
test_options: {
51-
unit_test: true,
52-
},
53-
edition: "2018",
54-
rustlibs: [
55-
"liblibc",
56-
],
57-
}

cargo2android.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@
77
"dependencies": true,
88
"device": true,
99
"run": true,
10-
"tests": true
10+
"tests": false
1111
}

0 commit comments

Comments
 (0)