From 3ac9d2bf239d8b6c11d42bc7fab155b90dd1c2c4 Mon Sep 17 00:00:00 2001 From: David Brazdil Date: Mon, 9 May 2022 19:35:10 +0100 Subject: [PATCH] Fix test compilation error Bug: 231700648 Test: include 'binary_test.go' in 'cc/Android.bp' and build Change-Id: Ie09ae5c754753751a450fe8854d5c8743afc2e72 --- cc/binary_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cc/binary_test.go b/cc/binary_test.go index 1b8b4a83c..cba5974fb 100644 --- a/cc/binary_test.go +++ b/cc/binary_test.go @@ -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") }