github.com/google/syzkaller@v0.0.0-20240517125934-c0f1611a36d6/tools/syz-linter/linter_test.go (about) 1 // Copyright 2020 syzkaller project authors. All rights reserved. 2 // Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file. 3 4 package main 5 6 import ( 7 "testing" 8 9 "github.com/google/syzkaller/pkg/osutil" 10 "golang.org/x/tools/go/analysis/analysistest" 11 ) 12 13 func TestLinter(t *testing.T) { 14 analysistest.Run(t, osutil.Abs("testdata"), SyzAnalyzer, "lintertest") 15 }