diff options
| author | Aleksandr Nogikh <nogikh@google.com> | 2023-07-12 16:37:46 +0200 |
|---|---|---|
| committer | Aleksandr Nogikh <nogikh@google.com> | 2023-07-12 14:58:29 +0000 |
| commit | 860811962461dbc8d8fb3af4fd7f65cf50857661 (patch) | |
| tree | ac3ce52dfdd48dbcbe9e738447ce0e6a9f39bf39 /Makefile | |
| parent | b9754d58c294db4bce541c127d90603c9bfe2cb0 (diff) | |
all: restructure tests
Let presubmit_dashboard run dashboard tests and presubmit_build run all
others.
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 15 |
1 files changed, 4 insertions, 11 deletions
@@ -116,7 +116,7 @@ endif check_copyright check_language check_whitespace check_links check_diff check_commits check_shebang \ presubmit presubmit_aux presubmit_build presubmit_arch_linux presubmit_arch_freebsd \ presubmit_arch_netbsd presubmit_arch_openbsd presubmit_arch_darwin presubmit_arch_windows \ - presubmit_arch_executor presubmit_big presubmit_race presubmit_old + presubmit_arch_executor presubmit_dashboard presubmit_race presubmit_old all: host target host: manager runtest repro mutate prog2c db upgrade @@ -316,7 +316,7 @@ presubmit_build: descriptions # This does not check build of test files, but running go test takes too long (even for building). $(GO) build ./... $(MAKE) lint - $(MAKE) test + SYZ_SKIP_DASHBOARD=1 $(MAKE) test presubmit_arch_linux: descriptions env HOSTOS=linux HOSTARCH=amd64 $(MAKE) host @@ -364,15 +364,8 @@ presubmit_arch_executor: descriptions env TARGETOS=test TARGETARCH=32_shmem $(MAKE) executor env TARGETOS=test TARGETARCH=32_fork_shmem $(MAKE) executor -presubmit_big: descriptions - # This target runs on CI in syz-env, - # so we can test packages that need GCloud SDK or OS toolchains. - # Run tests with clang on Linux. - # syz-env also contains toolchains for NetBSD/Fuchsia/Akaros, - # but these OSes use fixed toolchains and are not affected by SYZ_CLANG=yes. - # This way we get maximum coverage: smoke run tests Linux/gcc, - # while this run tests Linux/clang + the additional OSes. - SYZ_CLANG=yes $(GO) test -short -vet=off -coverprofile=.coverage.txt ./dashboard/app ./pkg/csource ./pkg/cover +presubmit_dashboard: descriptions + SYZ_CLANG=yes $(GO) test -short -vet=off -coverprofile=.coverage.txt ./dashboard/app presubmit_race: descriptions # -race requires cgo |
