aboutsummaryrefslogtreecommitdiffstats
path: root/executor
diff options
context:
space:
mode:
Diffstat (limited to 'executor')
-rw-r--r--executor/common_ext_test.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/executor/common_ext_test.go b/executor/common_ext_test.go
index 2815b095a..672ad7c74 100644
--- a/executor/common_ext_test.go
+++ b/executor/common_ext_test.go
@@ -14,6 +14,7 @@ import (
"github.com/google/syzkaller/pkg/ipc/ipcconfig"
"github.com/google/syzkaller/pkg/osutil"
"github.com/google/syzkaller/prog"
+ "github.com/google/syzkaller/sys/targets"
)
func TestCommonExt(t *testing.T) {
@@ -21,6 +22,10 @@ func TestCommonExt(t *testing.T) {
if err != nil {
t.Fatal(err)
}
+ sysTarget := targets.Get(target.OS, target.Arch)
+ if sysTarget.BrokenCompiler != "" {
+ t.Skipf("skipping, broken cross-compiler: %v", sysTarget.BrokenCompiler)
+ }
bin, err := csource.BuildFile(target, "executor.cc", "-DSYZ_TEST_COMMON_EXT_EXAMPLE=1")
if err != nil {
t.Fatal(err)