From 2e20275e07c60d0b08d511ba53b925fd80ad7ccc Mon Sep 17 00:00:00 2001 From: Robert Krimen Date: Sun, 5 May 2013 10:19:18 -0700 Subject: [PATCH] Add check for testing against the release version of Go --- Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 271fb9e..50a8a00 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -.PHONY: test assets todo fixme otto run test-all release test-synopsis test-i test262 +.PHONY: test assets todo fixme otto run test-all release test-synopsis test-i test262 check .PHONY: underscore TEST := -v --run @@ -29,9 +29,12 @@ run: test-all: test-i go test . -release: test-all test-synopsis +release: check test-all test-synopsis for package in . underscore registry; do (cd $$package && godocdown --signature > README.markdown); done +check: + GOROOT= $(HOME)/go/release/bin/go test -a . + test-synopsis: .test test-i otto $(MAKE) -C .test/synopsis