diff options
| author | Taras Madan <tarasmadan@google.com> | 2024-02-28 12:25:05 +0100 |
|---|---|---|
| committer | Taras Madan <tarasmadan@google.com> | 2024-02-28 13:56:07 +0000 |
| commit | 352ab9047be19ed1d8367b9113b7bde280c90124 (patch) | |
| tree | f4d57b8cc89bd70c08b96fc444d0234449a95a73 | |
| parent | 39318b7ac2faf7b59d11452f4ff94e4735614d85 (diff) | |
makefile, dashboard/app/util_test.go: test split by dev_appserver.py
| -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 { |
