summaryrefslogtreecommitdiff
path: root/src/cmd/gotest
diff options
context:
space:
mode:
authorRob Pike <r@golang.org>2009-04-17 19:39:45 -0700
committerRob Pike <r@golang.org>2009-04-17 19:39:45 -0700
commitc6e22b2438b7b1b5494ed258a005054c3cab0562 (patch)
tree18ba948edb8376fe9d2d2d7618d045a5d806a0db /src/cmd/gotest
parent02b51dcd281fd71b83742605b030a8d4f9dc4e0f (diff)
downloadgolang-c6e22b2438b7b1b5494ed258a005054c3cab0562.tar.gz
add -P pkgdir option to 6l to have it look first in pkgdir for a package.
this allows gotest to find the locally built package when doing make gotest without this option, one would have to say make install gotest which kinda defeats the purpose based on discussions with rsc. R=ken,rsc DELTA=12 (10 added, 1 deleted, 1 changed) OCL=27606 CL=27606
Diffstat (limited to 'src/cmd/gotest')
-rwxr-xr-xsrc/cmd/gotest/gotest1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cmd/gotest/gotest b/src/cmd/gotest/gotest
index 2cb08c529..12db03bf3 100755
--- a/src/cmd/gotest/gotest
+++ b/src/cmd/gotest/gotest
@@ -13,6 +13,7 @@ GC=${GC:-${O}g}
GL=${GL:-${O}l}
export GC GL
GC="$GC -I _obj"
+GL="$GL -P _obj"
gofiles=""
loop=true