aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2020-08-22 17:48:23 +0200
committerDmitry Vyukov <dvyukov@google.com>2020-08-22 21:42:13 +0200
commitdf5c8fa25ff3ed977df7bc12ac25b1e6b8ef2b21 (patch)
tree89291e396fea9518de14487c98ca4d4245828e26 /Makefile
parent49a5a1ab2f94353aa29edebdabc9eda5b168020b (diff)
tools/docker: add old-env
old-env is based on Ubuntu 16.04 and allows to test executor build on older distributions. Fixes #2055
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile13
1 files changed, 11 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index bf3f11276..56102c65d 100644
--- a/Makefile
+++ b/Makefile
@@ -94,7 +94,7 @@ ifeq ("$(TARGETOS)", "trusty")
TARGETGOARCH := $(HOSTARCH)
endif
-.PHONY: all host target \
+.PHONY: all clean host target \
manager runtest fuzzer executor \
ci hub \
execprog mutate prog2c trace2syz stress repro upgrade db \
@@ -103,7 +103,7 @@ endif
extract generate generate_go generate_sys \
format format_go format_cpp format_sys \
tidy test test_race check_copyright check_language check_links check_diff check_commits \
- presubmit presubmit_parallel clean
+ presubmit presubmit_smoke presubmit_build presubmit_arch presubmit_big presubmit_race presubmit_old
all: host target
host: manager runtest repro mutate prog2c db upgrade
@@ -315,6 +315,15 @@ presubmit_race: descriptions
env CGO_ENABLED=1 $(GO) test -race -short -bench=.* -benchtime=.2s ./... ;\
fi
+presubmit_old: descriptions
+ # Binaries we can compile in syz-old-env. 386 is broken, riscv64 is missing.
+ TARGETARCH=amd64 $(MAKE) target
+ TARGETARCH=arm64 $(MAKE) target
+ TARGETARCH=arm $(MAKE) target
+ TARGETARCH=ppc64le $(MAKE) target
+ TARGETARCH=mips64le $(MAKE) target
+ TARGETARCH=s390x $(MAKE) target
+
test: descriptions
$(GO) test -short -coverprofile=.coverage.txt ./...