summaryrefslogtreecommitdiff
path: root/src/cmd/gotest
AgeCommit message (Collapse)AuthorFilesLines
2012-04-06Imported Upstream version 1upstream/1Ondřej Surý4-719/+0
2011-09-13Imported Upstream version 60upstream/60Ondřej Surý4-0/+719
2011-09-13Imported Upstream version 60Ondřej Surý4-719/+0
2011-08-03Imported Upstream version 59upstream/59Ondřej Surý2-1/+14
2011-06-30Imported Upstream version 58upstream/58Ondřej Surý1-3/+4
2011-04-28Imported Upstream version 2011.04.27upstream/2011.04.27Ondřej Surý1-5/+24
2011-04-26Imported Upstream version 2011.04.13upstream/2011.04.13Ondřej Surý6-397/+645
2011-04-20Imported Upstream version 2011.03.07.1upstream/2011.03.07.1Ondřej Surý1-10/+10
2011-02-18Imported Upstream version 2011.02.15upstream/2011.02.15Ondřej Surý1-16/+30
2011-02-14Imported Upstream version 2011-02-01.1upstream/2011-02-01.1Ondřej Surý1-6/+0
2011-01-17Imported Upstream version 2011.01.12upstream/2011.01.12Ondřej Surý3-40/+216
2010-06-16cmd/gotest: Delete temporary _testmain.go files.Nigel Tao1-1/+1
R=rsc TBR=rsc CC=golang-dev http://codereview.appspot.com/1675047
2010-06-12gopack: add S flag to force marking a package as safeRuss Cox1-2/+2
R=r CC=golang-dev http://codereview.appspot.com/1597044
2010-04-22runtime: closures, defer bug fix for Native ClientRuss Cox1-5/+1
Enable package tests for Native Client build. R=r CC=golang-dev http://codereview.appspot.com/957042
2010-04-15synchronize ARM runner environment variable with run-armKai Backman1-1/+1
R=rsc CC=golang-dev http://codereview.appspot.com/912041
2010-04-07gotest: update URL printed by failure message.Rob Pike1-1/+1
Fixes issue 677. R=rsc CC=golang-dev http://codereview.appspot.com/834046
2010-02-28gotest: set $AS to $GOBIN/$ASAndrew Gerrand1-0/+1
May address issue 624. R=rsc CC=golang-dev http://codereview.appspot.com/223083
2010-01-28two minor build fixesRuss Cox1-7/+7
Fixes issue 572. Fixes issue 570. R=r CC=golang-dev http://codereview.appspot.com/194134
2010-01-26gotest still assumes that gopack is in your PATHIcarus Sparry1-1/+1
If your $PATH does not include $GOBIN then the build fails at the first *.a file, which is probably when running the tests for tar R=rsc CC=golang-dev http://codereview.appspot.com/193066 Committer: Russ Cox <rsc@golang.org>
2010-01-22eliminate the package global name space assumption in object filesRuss Cox1-2/+23
5g/6g/8g: add import statements to export metadata, mapping package path to package name. recognize "" as the path of the package in export metadata. use "" as the path of the package in object symbol names. 5c/6c/8c, 5a/6a/8a: rewrite leading . to "". so that ·Sin means Sin in this package. 5l/6l/8l: rewrite "" in symbol names as object files are read. gotest: handle new symbol names. gopack: handle new import lines in export metadata. Collectively, these changes eliminate the assumption of a global name space in the object file formats. Higher level pieces such as reflect and the computation of type hashes still depend on the assumption; we're not done yet. R=ken2, r, ken3 CC=golang-dev http://codereview.appspot.com/186263 Committer: Russ Cox <rsc@golang.org>
2010-01-19cleanup toward eliminating package global name spaceRuss Cox1-3/+3
* switch to real dot (.) instead of center dot (·) everywhere in object files. before it was half and half depending on where in the name it appeared. * in 6c/6a/etc identifiers, · can still be used but turns into . immediately. * in export metadata, replace package identifiers with quoted strings (still package names, not paths). R=ken2, r CC=golang-dev http://codereview.appspot.com/190076
2009-12-11Remove GOBIN in PATH dependency; don't assume cwd is $GOROOT/srcDevon H. O'Dell1-8/+10
This change removes the necessity to have GOBIN in $PATH, and also doesn't assume that the build is being run from $GOROOT/src. This is a minimal set of necessary changes to get Go to build happily from the FreeBSD ports collection. R=rsc CC=golang-dev http://codereview.appspot.com/171044 Committer: Russ Cox <rsc@golang.org>
2009-12-04gotest: stop if the // gotest commands failRuss Cox1-1/+1
R=r http://codereview.appspot.com/166067
2009-12-04gotest: ignore *_test.pb.goRuss Cox1-1/+1
R=r http://codereview.appspot.com/166064
2009-11-23go: makes it build for the case $GOROOT has whitespacesSergio Luis O. B. Correia2-3/+3
the bash scripts and makefiles for building go didn't take into account the fact $GOROOT / $GOBIN could both be directories containing whitespaces, and was not possible to build it in such a situation. this commit adjusts the various makefiles/scripts to make it aware of that possibility, and now it builds successfully when using a path with whitespaces as well. Fixes issue 115. R=rsc, dsymonds1 http://codereview.appspot.com/157067 Committer: Russ Cox <rsc@golang.org>
2009-11-19Adds benchmark support to gotest.Trevor Strohman2-4/+23
No benchmarks are run unless the --benchmarks=<regexp> flag is specified on the gotest command line. This change includes sample benchmarks for regexp. % gotest --benchmarks=.* (standard test output redacted) testing.BenchmarkSimpleMatch 200000 7799 ns/op testing.BenchmarkUngroupedMatch 20000 76898 ns/op testing.BenchmarkGroupedMatch 50000 38148 ns/op R=r, rsc http://codereview.appspot.com/154173 Committer: Russ Cox <rsc@golang.org>
2009-11-15gotest: show the test file pattern in "no test files" errorRuss Cox1-1/+1
Fixes issue 190. R=r http://codereview.appspot.com/154142
2009-11-14Build changes to support work on the BSDs.Devon H. O'Dell1-4/+4
This does still contain some FreeBSD-specific bits, but it's a pain to do partial diffs. R=rsc http://codereview.appspot.com/152138 Committer: Russ Cox <rsc@golang.org>
2009-11-12produce helpful error when gotest doesn't find a MakefileRob Pike1-2/+7
Fixes issue 117. R=rsc, agl1 CC=golang-dev http://codereview.appspot.com/152107
2009-11-11gotest: add LC_ALL=CRuss Cox1-0/+1
R=r http://codereview.appspot.com/154067
2009-11-10gotest: avoid problems with grepping for ·Russ Cox1-0/+5
Fixes issue 7. R=r CC=golang-dev http://codereview.appspot.com/154043
2009-11-09tweak documentation of commandsRuss Cox1-1/+1
so that first sentence is better for cmd page. live at http://r45:3456/cmd/ R=gri, r http://go/go-review/1024034
2009-11-05 make 5g executables run on android/arm hardware. change OABIKai Backman1-1/+1
usage to EABI. go/test: passes 85% (296/347) on random android phone. R=rsc http://go/go-review/1024003
2009-11-03document gotestRob Pike1-0/+49
R=rsc CC=go-dev http://go/go-review/1017026
2009-10-25 make 5l ignore multiple defs, remove use of multipleKai Backman1-1/+7
defs from embed1 and gotest R=rsc http://go/go-review/1014009
2009-10-07do not import testing twice when testing testing.Russ Cox1-1/+3
R=r DELTA=3 (2 added, 0 deleted, 1 changed) OCL=35443 CL=35445
2009-09-22nacl - run tests under emulator.Russ Cox1-1/+7
special all-nacl.bash and test/run-nacl that run just the tests known to work under nacl. the rest requires closures. fix another bug or two in syscall. R=r DELTA=420 (410 added, 8 deleted, 2 changed) OCL=34882 CL=34907
2009-09-17unused importsRuss Cox1-15/+17
R=r OCL=34731 CL=34731
2009-08-21Implement line-to-PC mapping. Add unit tests forAustin Clements1-1/+1
PC/line/aline conversion methods. R=rsc APPROVED=rsc DELTA=458 (434 added, 15 deleted, 9 changed) OCL=33677 CL=33702
2009-08-12fix linux build for whole package compilationRob Pike1-2/+7
R=rsc OCL=33103 CL=33103
2009-08-12new included Make.pkg for handwritten package makefiles.Russ Cox1-33/+42
gobuild is obsolete; don't build it (will delete eventually). revised gotest for whole-package compilation. R=r DELTA=102 (68 added, 6 deleted, 28 changed) OCL=33067 CL=33098
2009-07-28Support use of $GOBINDIR to override $HOME/binPhil Pennock1-2/+2
R=r,gri,rsc APPROVED=rsc DELTA=53 (12 added, 6 deleted, 35 changed) OCL=31822 CL=32282
2009-06-05restructure makefiles, scripts to factor out O= logic.Russ Cox1-9/+11
remove a few hardcoded paths elsewhere too. R=r,gri DELTA=123 (44 added, 15 deleted, 64 changed) OCL=29914 CL=29945
2009-06-02386 library updatesRuss Cox1-3/+9
R=r DELTA=161 (153 added, 0 deleted, 8 changed) OCL=29802 CL=29809
2009-04-30change 6l library directory flag to -L,Russ Cox1-1/+1
to match traditional c linkers. R=r DELTA=42 (8 added, 12 deleted, 22 changed) OCL=28101 CL=28115
2009-04-17add -P pkgdir option to 6l to have it look first in pkgdir for a package.Rob Pike1-0/+1
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
2009-04-17Step 1 of the Big Error Shift: make os.Error an interface and replace ↵Rob Pike1-0/+1
*os.Errors with os.Errors. lib/template updated to use new setup; its clients also updated. Step 2 will make os's error support internally much cleaner. R=rsc OCL=27586 CL=27586
2009-03-31Bail out of gotest immediately if compiling fails.David Symonds1-2/+2
R=rsc APPROVED=rsc DELTA=4 (2 added, 2 deleted, 0 changed) OCL=26978 CL=26978
2009-03-03Automated g4 rollback of changelist 25024,Russ Cox1-3/+3
plus significant hand editing. Back to T{x} for composite literals. R=r OCL=25612 CL=25632
2009-02-13convert composite literals from { } to ( ).Russ Cox1-3/+3
only non-trivial changes are in convlit1.go golden.out R=gri OCL=25019 CL=25024