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
This commit is contained in:
Bill Thiede 2014-07-09 22:00:52 -07:00
parent 59050a893e
commit c360867970
1 changed files with 4 additions and 1 deletions

View File

@ -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