From fc80fe7f2f08c99fd1f24dbe170116efc77f53a0 Mon Sep 17 00:00:00 2001 From: Ivan Lozano Date: Thu, 11 Jun 2020 13:25:36 -0400 Subject: Make rust_test file output more similar to cc_test. This changes the way the output filename is calculated for rust_test binaries to be more similar to cc_test. This also removes the option to define multiple test binaries in a single rust_test module via the TestPerSrc mutator. Now each rust_test module corresponds to a single test binary. Bug: 158500462 Test: m -j pin-utils_tests_pin_utils Test: m -j unicode-xid_device_tests_unicode_xid Change-Id: I6e0f79dcb4e49fa49d6ebb36abeef67a9eb180a0 --- rust/testing.go | 1 - 1 file changed, 1 deletion(-) (limited to 'rust/testing.go') diff --git a/rust/testing.go b/rust/testing.go index f94af71ee..4e186d350 100644 --- a/rust/testing.go +++ b/rust/testing.go @@ -97,7 +97,6 @@ func CreateTestContext() *android.TestContext { ctx.PreDepsMutators(func(ctx android.RegisterMutatorsContext) { // rust mutators ctx.BottomUp("rust_libraries", LibraryMutator).Parallel() - ctx.BottomUp("rust_unit_tests", TestPerSrcMutator).Parallel() ctx.BottomUp("rust_begin", BeginMutator).Parallel() }) ctx.RegisterSingletonType("rust_project_generator", rustProjectGeneratorSingleton) -- cgit v1.2.3-59-g8ed1b