From c3608679708a581f1a043d5ae7c2a7a863fd73a1 Mon Sep 17 00:00:00 2001 From: Bill Thiede Date: Wed, 9 Jul 2014 22:00:52 -0700 Subject: [PATCH] make: run 'devcam test' for presubmit target The previous behavior (now build target oldpresubmit) was slightly different than devcam test; it didn't copy files to a clean directory and test in isolation. The buildbot uses devcam test, and for consistency 'make presubmit' should too. This runs devcam test with -short, mirroring -short from the previous presubmit. The buildbot runs devcam without -short. Change-Id: I71e308bd16104004a8cd790901e88edebedab2a9 --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 8976cdd11..e9d83c0c5 100644 --- a/Makefile +++ b/Makefile @@ -16,9 +16,12 @@ full: forcefull: go install -a --tags=with_sqlite ./pkg/... ./server/camlistored ./cmd/... ./dev/... -presubmit: fmt +oldpresubmit: fmt SKIP_DEP_TESTS=1 go test `pkg-config --libs sqlite3 1>/dev/null 2>/dev/null && echo "--tags=with_sqlite"` -short ./pkg/... ./server/camlistored/... ./server/appengine ./cmd/... ./dev/... && echo PASS +presubmit: fmt + go run dev/devcam/*.go test -short + embeds: go install ./pkg/fileembed/genfileembed/ && genfileembed ./server/camlistored/ui && genfileembed ./pkg/server