Fix test compilation error

Bug: 231700648
Test: include 'binary_test.go' in 'cc/Android.bp' and build
Change-Id: Ie09ae5c754753751a450fe8854d5c8743afc2e72
This commit is contained in:
David Brazdil 2022-05-09 19:35:10 +01:00
parent f2d126b3d8
commit 3ac9d2bf23

View file

@ -65,7 +65,7 @@ func TestBinaryLinkerScripts(t *testing.T) {
android.AssertStringListContains(t, "missing dependency on linker_scripts",
binFoo.Implicits.Strings(), "bar.ld")
android.AssertStringDoesContain(t, "missing flag for linker_scripts",
libfoo.Args["ldFlags"], "-Wl,--script,foo.ld")
binFoo.Args["ldFlags"], "-Wl,--script,foo.ld")
android.AssertStringDoesContain(t, "missing flag for linker_scripts",
libfoo.Args["ldFlags"], "-Wl,--script,bar.ld")
binFoo.Args["ldFlags"], "-Wl,--script,bar.ld")
}