From 105bd23a6d77b662b643cf15a2e75cca87b2e2fd Mon Sep 17 00:00:00 2001 From: Grigory Bazilevich Date: Tue, 28 Oct 2025 00:24:01 +0300 Subject: pkg/csource: build tests without warnings Otherwise syz-ci will fail to build the project. Signed-off-by: Denis Efremov --- pkg/csource/csource_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkg/csource/csource_test.go') diff --git a/pkg/csource/csource_test.go b/pkg/csource/csource_test.go index 9e9dadf86..39f1d71c3 100644 --- a/pkg/csource/csource_test.go +++ b/pkg/csource/csource_test.go @@ -149,7 +149,7 @@ func testOne(t *testing.T, p *prog.Prog, opts Options) { t.Fatalf("source contains leftover include guards: %v\nopts: %+v\nprogram:\n%s", matches, opts, p.Serialize()) } - bin, err := Build(p.Target, src) + bin, err := BuildNoWarn(p.Target, src) if err != nil { if atomic.AddUint32(&failedTests, 1) > maxFailures { t.Fatal() -- cgit mrf-deployment