diff options
| -rw-r--r-- | Makefile | 4 | ||||
| -rw-r--r-- | dashboard/app/util_test.go | 2 |
2 files changed, 3 insertions, 3 deletions
@@ -319,7 +319,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 - SYZ_SKIP_DASHBOARD=1 $(MAKE) test + SYZ_SKIP_DEV_APPSERVER_TESTS=1 $(MAKE) test presubmit_arch_linux: descriptions env HOSTOS=linux HOSTARCH=amd64 $(MAKE) host @@ -373,7 +373,7 @@ presubmit_dashboard: descriptions presubmit_race: descriptions # -race requires cgo env CGO_ENABLED=1 $(GO) test -race; if test $$? -ne 2; then \ - env CGO_ENABLED=1 SYZ_SKIP_DASHBOARD=1 $(GO) test -race -short -vet=off -bench=.* -benchtime=.2s ./... ;\ + env CGO_ENABLED=1 SYZ_SKIP_DEV_APPSERVER_TESTS=1 $(GO) test -race -short -vet=off -bench=.* -benchtime=.2s ./... ;\ fi presubmit_race_dashboard: descriptions diff --git a/dashboard/app/util_test.go b/dashboard/app/util_test.go index 9e180095b..db92174e4 100644 --- a/dashboard/app/util_test.go +++ b/dashboard/app/util_test.go @@ -51,7 +51,7 @@ var skipDevAppserverTests = func() bool { _, err := exec.LookPath("dev_appserver.py") // Don't silently skip tests on CI, we should have gcloud sdk installed there. return err != nil && os.Getenv("SYZ_ENV") == "" || - os.Getenv("SYZ_SKIP_DASHBOARD") != "" + os.Getenv("SYZ_SKIP_DEV_APPSERVER_TESTS") != "" }() func NewCtx(t *testing.T) *Ctx { |
