diff options
| -rw-r--r-- | pkg/runtest/executor_test.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pkg/runtest/executor_test.go b/pkg/runtest/executor_test.go index 25596646a..bb830e885 100644 --- a/pkg/runtest/executor_test.go +++ b/pkg/runtest/executor_test.go @@ -7,6 +7,7 @@ import ( "context" "fmt" "math/rand" + "os" "runtime" "strings" "testing" @@ -45,7 +46,7 @@ func TestExecutor(t *testing.T) { if sysTarget.Arch == runtime.GOARCH || sysTarget.VMArch == runtime.GOARCH { t.Fatal(err) } - if strings.Contains(err.Error(), "SYZFAIL:") { + if os.Getenv("CI") != "" || strings.Contains(err.Error(), "SYZFAIL:") { t.Fatal(err) } else { t.Skipf("skipping, cross-arch binary failed: %v", err) |
