lp:gocheck

Created by Gustavo Niemeyer and last modified
Get this branch:
bzr branch lp:gocheck
Only Gustavo Niemeyer can upload to this branch. If you are Gustavo Niemeyer please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Gustavo Niemeyer
Project:
gocheck
Status:
Development

Recent revisions

87. By Roger Peppe

Use readable time stamps on log messages.

On long running tests, the time might wrap:

[LOG] 72.15087 JUJU state: opening state; zookeeper addresses: ["ec2-23-20-157-185.compute-1.amazonaws.com:2181"]
[LOG] 78.46405 JUJU state: waiting for state to be initialized
destroy env
[LOG] 13.73135 JUJU environs/ec2: destroying environment "sample-6326978ae3647455"

This CL makes the time stamp format as a duration since
the start of the test in the format agreed before:

[LOG] 0:00.568 DEBUG juju.environs.tools reading v1.* tools
[LOG] 0:00.569 INFO juju environs/testing: uploading FAKE tools 1.17.3-trusty-amd64
[LOG] 0:00.570 INFO juju environs/testing: uploading FAKE tools 1.17.3-precise-amd64
[LOG] 0:00.571 DEBUG juju.environs.tools no architecture specified when finding tools, looking for any

R=
CC=
https://codereview.appspot.com/5874049

86. By Gustavo Niemeyer

Fix LICENSE file to be Simplified BSD, as the web site claims.

85. By Gustavo Niemeyer

Re-run SetUpTest and TearDownTest while callibrating timing.

84. By Gustavo Niemeyer

Trivial tweaks after logger locking merge.

83. By Dave Cheney

gocheck: serialize log writes

Fixes LP #1084878.

The race detector cannot profile gocheck tested code due to this race.

R=rog, niemeyer, fwereade
CC=
https://codereview.appspot.com/6862050

82. By Gustavo Niemeyer

Add -gocheck.list flag.

This is an integration of Roger's change:

  https://codereview.appspot.com/5705044/

I've just fixed the conflicts of merging with tip.

81. By John A Meinel

This fixes a bunch of failing tests on Windows.

Specifically, a lot of tests were asserting something like:

FAIL: filename.go ...

While on Windows, the full paths are given:

FAIL: C:/dev/go/gocheck/filename.go

I dug into it, and it turns out that nicePath was comparing
function.FileLine() to os.Getwd(). However, function.FileLine() returns
'C:/path/to/foo' while 'os.Getwd()' returns 'C:\path\to\foo'.

I also did one more quick change, which was to always append the trailing '/'.
That way we don't have to do that on every call to nicePath() (and I checked
that only nicePath uses initWD).

At the moment, there are only 2 remaining tests failing. Both because the
failure messages don't include the module name. This is with golang r58. So it
is possible that golang changed something (so it needs to be fixed anyway), or
it is possible it just works differently on Windows :(.

80. By Gustavo Niemeyer

Fixed tests after change of test timer formatting.

79. By Gustavo Niemeyer

Print test timings in seconds.

78. By Gustavo Niemeyer

Finished integration of benchmarks!

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp:~niemeyer/gocheck/old-trunk
This branch contains Public information 
Everyone can see this information.