aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile8
-rw-r--r--executor/stub.go7
2 files changed, 11 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index e70588452..9611ca05a 100644
--- a/Makefile
+++ b/Makefile
@@ -83,10 +83,10 @@ presubmit:
$(MAKE) generate
$(MAKE) format
$(MAKE) executor
- ARCH=amd64 go install ./...
- ARCH=arm64 go install ./...
- ARCH=ppc64le go install ./...
- GOOS=darwin go build -o /dev/null ./syz-manager
+ GOOS=linux GOARCH=amd64 go install ./...
+ GOOS=linux GOARCH=arm64 go install ./...
+ GOOS=linux GOARCH=ppc64le go install ./...
+ GOOS=darwin GOARCH=amd64 go build -o /dev/null ./syz-manager
go test -short ./...
echo LGTM
diff --git a/executor/stub.go b/executor/stub.go
new file mode 100644
index 000000000..a85683ee3
--- /dev/null
+++ b/executor/stub.go
@@ -0,0 +1,7 @@
+// Copyright 2017 syzkaller project authors. All rights reserved.
+// Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file.
+
+// Just to make cross-compilation tests work,
+// otherwise they fail with "no buildable Go source files"
+
+package executor