]> Cypherpunks repositories - gostls13.git/commitdiff
Make.pkg: have "make coverage" invoke 6cov with correct binary
authorRuss Cox <rsc@golang.org>
Tue, 17 Nov 2009 16:39:26 +0000 (08:39 -0800)
committerRuss Cox <rsc@golang.org>
Tue, 17 Nov 2009 16:39:26 +0000 (08:39 -0800)
Fixes #239.

R=r
https://golang.org/cl/154176

src/Make.pkg

index 137779207546d2218b9a8f5f9669d841db694962..f7b850685f43d4beb4effc128dd96712c246a243 100644 (file)
@@ -26,7 +26,7 @@ PREREQ+=$(patsubst %,%.make,$(DEPS))
 
 coverage:
        gotest
-       6cov -g $(shell pwd) | grep -v '_test\.go:'
+       6cov -g $(shell pwd) $O.out | grep -v '_test\.go:'
 
 clean:
        rm -rf *.[$(OS)o] *.a [$(OS)].out *.cgo[12].go *.cgo[34].c *.so _obj _test _testmain.go $(CLEANFILES)