Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(300)

Issue 6525052: code review 6525052: runtime/race: add unit tests for race detector (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 7 months ago by dvyukov
Modified:
11 years, 4 months ago
Reviewers:
CC:
golang-dev, remyoudompheng, rsc
Visibility:
Public.

Description

runtime/race: add unit tests for race detector

Patch Set 1 #

Patch Set 2 : diff -r 28e350401401 https://dvyukov%40google.com@code.google.com/p/go/ #

Patch Set 3 : diff -r dfb1b5655e21 https://dvyukov%40google.com@code.google.com/p/go/ #

Patch Set 4 : diff -r 1e55cf10aa4f https://dvyukov%40google.com@code.google.com/p/go/ #

Patch Set 5 : diff -r 1e55cf10aa4f https://dvyukov%40google.com@code.google.com/p/go/ #

Patch Set 6 : diff -r 1e55cf10aa4f https://dvyukov%40google.com@code.google.com/p/go/ #

Patch Set 7 : diff -r bb4ee132b967 https://dvyukov%40google.com@code.google.com/p/go/ #

Patch Set 8 : diff -r d2f3c74b9998 https://go.googlecode.com/hg/ #

Patch Set 9 : diff -r d2f3c74b9998 https://go.googlecode.com/hg/ #

Patch Set 10 : diff -r 0167b45ce063 https://dvyukov%40google.com@code.google.com/p/go/ #

Patch Set 11 : diff -r c0761b6a5160 https://dvyukov%40google.com@code.google.com/p/go/ #

Patch Set 12 : diff -r e3d1b93bfa09 https://dvyukov%40google.com@code.google.com/p/go/ #

Patch Set 13 : diff -r e3d1b93bfa09 https://dvyukov%40google.com@code.google.com/p/go/ #

Patch Set 14 : diff -r e3d1b93bfa09 https://dvyukov%40google.com@code.google.com/p/go/ #

Patch Set 15 : diff -r d1854dd425b2 https://dvyukov%40google.com@code.google.com/p/go/ #

Patch Set 16 : diff -r d1854dd425b2 https://dvyukov%40google.com@code.google.com/p/go/ #

Patch Set 17 : diff -r f2755950769b https://dvyukov%40google.com@code.google.com/p/go/ #

Patch Set 18 : diff -r f2755950769b https://dvyukov%40google.com@code.google.com/p/go/ #

Patch Set 19 : diff -r f2755950769b https://dvyukov%40google.com@code.google.com/p/go/ #

Total comments: 2

Patch Set 20 : diff -r 34e54cf71fed https://dvyukov%40google.com@code.google.com/p/go/ #

Patch Set 21 : diff -r 34e54cf71fed https://dvyukov%40google.com@code.google.com/p/go/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4277 lines, -0 lines) Patch
A src/pkg/runtime/race/race_test.go View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +152 lines, -0 lines 0 comments Download
A src/pkg/runtime/race/testdata/atomic_test.go View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +271 lines, -0 lines 0 comments Download
A src/pkg/runtime/race/testdata/cgo_test.go View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +20 lines, -0 lines 0 comments Download
A src/pkg/runtime/race/testdata/cgo_test_main.go View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +40 lines, -0 lines 0 comments Download
A src/pkg/runtime/race/testdata/chan_test.go View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +457 lines, -0 lines 0 comments Download
A src/pkg/runtime/race/testdata/comp_test.go View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +132 lines, -0 lines 0 comments Download
A src/pkg/runtime/race/testdata/finalizer_test.go View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +67 lines, -0 lines 0 comments Download
A src/pkg/runtime/race/testdata/io_test.go View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +69 lines, -0 lines 0 comments Download
A src/pkg/runtime/race/testdata/map_test.go View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +151 lines, -0 lines 0 comments Download
A src/pkg/runtime/race/testdata/mop_test.go View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +1363 lines, -0 lines 0 comments Download
A src/pkg/runtime/race/testdata/mutex_test.go View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +138 lines, -0 lines 0 comments Download
A src/pkg/runtime/race/testdata/regression_test.go View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +123 lines, -0 lines 0 comments Download
A src/pkg/runtime/race/testdata/rwmutex_test.go View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +134 lines, -0 lines 0 comments Download
A src/pkg/runtime/race/testdata/select_test.go View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +286 lines, -0 lines 0 comments Download
A src/pkg/runtime/race/testdata/slice_test.go View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +445 lines, -0 lines 0 comments Download
A src/pkg/runtime/race/testdata/sync_test.go View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +197 lines, -0 lines 0 comments Download
A src/pkg/runtime/race/testdata/waitgroup_test.go View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +232 lines, -0 lines 0 comments Download

Messages

Total messages: 14
dvyukov
Hello golang-dev@googlegroups.com, I'd like you to review this change to https://dvyukov%40google.com@code.google.com/p/go/
11 years, 6 months ago (2012-10-07 18:15:33 UTC) #1
dvyukov
What do you think about high-level organisation? All test files except race_test.go are +build ignore. ...
11 years, 6 months ago (2012-10-07 18:25:45 UTC) #2
remyoudompheng
A test case I stumbled upon today: package main func Encode() ([]byte, error) { t ...
11 years, 5 months ago (2012-11-01 19:51:29 UTC) #3
dvyukov
On 2012/11/01 19:51:29, remyoudompheng wrote: > A test case I stumbled upon today: > > ...
11 years, 5 months ago (2012-11-01 19:59:01 UTC) #4
remyoudompheng
It sort of didn't. I wanted to write a trivial example for stack split, so ...
11 years, 5 months ago (2012-11-01 20:07:28 UTC) #5
dvyukov
On 2012/11/01 20:07:28, remyoudompheng wrote: > It sort of didn't. I wanted to write a ...
11 years, 5 months ago (2012-11-02 06:39:00 UTC) #6
dvyukov
On 2012/11/02 06:39:00, dvyukov wrote: > On 2012/11/01 20:07:28, remyoudompheng wrote: > > It sort ...
11 years, 5 months ago (2012-11-02 08:05:33 UTC) #7
dvyukov
On 2012/10/07 18:25:45, dvyukov wrote: > What do you think about high-level organisation? > > ...
11 years, 5 months ago (2012-11-08 16:04:53 UTC) #8
rsc
I suggest moving the excluded files into a testdata subdirectory. The go command knows to ...
11 years, 5 months ago (2012-11-12 21:49:35 UTC) #9
dvyukov
On 2012/11/12 21:49:35, rsc wrote: > I suggest moving the excluded files into a testdata ...
11 years, 5 months ago (2012-11-14 14:15:58 UTC) #10
dvyukov
Hello golang-dev@googlegroups.com, remyoudompheng@gmail.com, rsc@golang.org (cc: golang-dev@googlegroups.com), Please take another look.
11 years, 5 months ago (2012-11-23 09:52:39 UTC) #11
rsc
LGTM https://codereview.appspot.com/6525052/diff/37019/src/pkg/runtime/race/race_test.go File src/pkg/runtime/race/race_test.go (right): https://codereview.appspot.com/6525052/diff/37019/src/pkg/runtime/race/race_test.go#newcode28 src/pkg/runtime/race/race_test.go:28: passedTests, totalTests, falsePos, falseNeg, failingPos, failingNeg int please ...
11 years, 5 months ago (2012-11-26 17:11:56 UTC) #12
dvyukov
https://codereview.appspot.com/6525052/diff/37019/src/pkg/runtime/race/race_test.go File src/pkg/runtime/race/race_test.go (right): https://codereview.appspot.com/6525052/diff/37019/src/pkg/runtime/race/race_test.go#newcode28 src/pkg/runtime/race/race_test.go:28: passedTests, totalTests, falsePos, falseNeg, failingPos, failingNeg int On 2012/11/26 ...
11 years, 4 months ago (2012-11-27 11:04:03 UTC) #13
dvyukov
11 years, 4 months ago (2012-11-27 11:05:16 UTC) #14
*** Submitted as http://code.google.com/p/go/source/detail?r=e03ad98f9165 ***

runtime/race: add unit tests for race detector

R=golang-dev, remyoudompheng, rsc
CC=golang-dev
http://codereview.appspot.com/6525052
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b