From e9c477a5b3a05a614d9a0c68ba9724762a363784 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Mon, 25 Sep 2017 08:47:15 +0200 Subject: sys/syz-extract: support fuchsia --- pkg/compiler/compiler_test.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'pkg/compiler/compiler_test.go') diff --git a/pkg/compiler/compiler_test.go b/pkg/compiler/compiler_test.go index be803bae9..ac2d88167 100644 --- a/pkg/compiler/compiler_test.go +++ b/pkg/compiler/compiler_test.go @@ -38,6 +38,7 @@ func TestErrors(t *testing.T) { "C1": 1, "C2": 2, } + target := targets.List["linux"]["amd64"] for _, name := range []string{"errors.txt", "errors2.txt"} { name := name t.Run(name, func(t *testing.T) { @@ -47,8 +48,8 @@ func TestErrors(t *testing.T) { em.DumpErrors(t) t.Fatalf("parsing failed") } - ExtractConsts(desc, em.ErrorHandler) - Compile(desc, consts, targets.List["linux"]["amd64"], em.ErrorHandler) + ExtractConsts(desc, target, em.ErrorHandler) + Compile(desc, consts, target, em.ErrorHandler) em.Check(t) }) } -- cgit mrf-deployment