diff options
| author | Grigory Bazilevich <g.bazilevich@ispras.ru> | 2025-10-28 00:24:01 +0300 |
|---|---|---|
| committer | Grigory Bazilevich <g.bazilevich@ispras.ru> | 2026-03-12 11:30:09 +0300 |
| commit | 105bd23a6d77b662b643cf15a2e75cca87b2e2fd (patch) | |
| tree | 97c60754243027ed63a610a9d593519c39dca86c /pkg/csource/csource_test.go | |
| parent | 7bbc9c041ae98694a0738b4141920ccfce987bd3 (diff) | |
pkg/csource: build tests without warnings
Otherwise syz-ci will fail to build the project.
Signed-off-by: Denis Efremov <efremov@ispras.ru>
Diffstat (limited to 'pkg/csource/csource_test.go')
| -rw-r--r-- | pkg/csource/csource_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
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() |
