Remove an unnecessary test in filesystem am: 5c3c3274fe
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3066746 Change-Id: Ie23aca55085bc522801fcf3c565640cb27303333 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -299,43 +299,6 @@ func TestAvbAddHashFooter(t *testing.T) {
|
||||
cmd, "--include_descriptors_from_image ")
|
||||
}
|
||||
|
||||
func TestFileSystemShouldInstallCoreVariantIfTargetBuildAppsIsSet(t *testing.T) {
|
||||
context := android.GroupFixturePreparers(
|
||||
fixture,
|
||||
android.FixtureModifyProductVariables(func(variables android.FixtureProductVariables) {
|
||||
variables.Unbundled_build_apps = []string{"bar"}
|
||||
}),
|
||||
)
|
||||
result := context.RunTestWithBp(t, `
|
||||
android_system_image {
|
||||
name: "myfilesystem",
|
||||
deps: [
|
||||
"libfoo",
|
||||
],
|
||||
linker_config_src: "linker.config.json",
|
||||
}
|
||||
|
||||
cc_library {
|
||||
name: "libfoo",
|
||||
shared_libs: [
|
||||
"libbar",
|
||||
],
|
||||
stl: "none",
|
||||
}
|
||||
|
||||
cc_library {
|
||||
name: "libbar",
|
||||
sdk_version: "9",
|
||||
stl: "none",
|
||||
}
|
||||
`)
|
||||
|
||||
inputs := result.ModuleForTests("myfilesystem", "android_common").Output("myfilesystem.img").Implicits
|
||||
android.AssertStringListContains(t, "filesystem should have libbar even for unbundled build",
|
||||
inputs.Strings(),
|
||||
"out/soong/.intermediates/libbar/android_arm64_armv8-a_shared/libbar.so")
|
||||
}
|
||||
|
||||
func TestFileSystemWithCoverageVariants(t *testing.T) {
|
||||
context := android.GroupFixturePreparers(
|
||||
fixture,
|
||||
|
Reference in New Issue
Block a user