<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/go-git.git/test/errchk, branch dev.inline</title>
<subtitle>github.com: golang/go
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/go-git.git/'/>
<entry>
<title>cmd/vet: make checking example names in _test packages more robust</title>
<updated>2016-06-28T22:09:00+00:00</updated>
<author>
<name>Konstantin Shaposhnikov</name>
<email>k.shaposhnikov@gmail.com</email>
</author>
<published>2016-06-27T09:13:15+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/go-git.git/commit/?id=85a4f44745859ecdd71c034171d40263651f8594'/>
<id>85a4f44745859ecdd71c034171d40263651f8594</id>
<content type='text'>
Prior to this change package "foo" had to be installed in order to check
example names in "foo_test" package.

However by the time "foo_test" package is checked a parsed "foo" package
has been already constructed. Use it to check example names.

Also change TestDivergentPackagesExamples test to pass directory of the
package to the vet tool as it is the most common way to invoke it. This
requires changes to errchk to add support for grabbing source files from
a directory.

Fixes #16189

Change-Id: Ief103d07b024822282b86c24250835cc591793e8
Reviewed-on: https://go-review.googlesource.com/24488
Reviewed-by: Ian Lance Taylor &lt;iant@golang.org&gt;
Run-TryBot: Ian Lance Taylor &lt;iant@golang.org&gt;
TryBot-Result: Gobot Gobot &lt;gobot@golang.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Prior to this change package "foo" had to be installed in order to check
example names in "foo_test" package.

However by the time "foo_test" package is checked a parsed "foo" package
has been already constructed. Use it to check example names.

Also change TestDivergentPackagesExamples test to pass directory of the
package to the vet tool as it is the most common way to invoke it. This
requires changes to errchk to add support for grabbing source files from
a directory.

Fixes #16189

Change-Id: Ief103d07b024822282b86c24250835cc591793e8
Reviewed-on: https://go-review.googlesource.com/24488
Reviewed-by: Ian Lance Taylor &lt;iant@golang.org&gt;
Run-TryBot: Ian Lance Taylor &lt;iant@golang.org&gt;
TryBot-Result: Gobot Gobot &lt;gobot@golang.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix several out of date references to 4g/5g/6g/8g/9g.</title>
<updated>2015-06-26T03:38:21+00:00</updated>
<author>
<name>Aaron Jacobs</name>
<email>jacobsa@google.com</email>
</author>
<published>2015-06-23T23:50:12+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/go-git.git/commit/?id=86286883047d75df7769bff42ba2364b9bcee6fd'/>
<id>86286883047d75df7769bff42ba2364b9bcee6fd</id>
<content type='text'>
Change-Id: Ifb8e4e13c7778a7c0113190051415e096f5db94f
Reviewed-on: https://go-review.googlesource.com/11390
Reviewed-by: Josh Bleecher Snyder &lt;josharian@gmail.com&gt;
Reviewed-by: Andrew Gerrand &lt;adg@golang.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: Ifb8e4e13c7778a7c0113190051415e096f5db94f
Reviewed-on: https://go-review.googlesource.com/11390
Reviewed-by: Josh Bleecher Snyder &lt;josharian@gmail.com&gt;
Reviewed-by: Andrew Gerrand &lt;adg@golang.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>test/errchk: use "#!/usr/bin/env perl" shebang line</title>
<updated>2013-05-22T20:41:22+00:00</updated>
<author>
<name>Shenghou Ma</name>
<email>minux.ma@gmail.com</email>
</author>
<published>2013-05-22T20:41:22+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/go-git.git/commit/?id=1beb791934e6092ae2d16aa3e01eb09f031ae12c'/>
<id>1beb791934e6092ae2d16aa3e01eb09f031ae12c</id>
<content type='text'>
fix test failure of go.tools sub-repo on NetBSD.

R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/9662044
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
fix test failure of go.tools sub-repo on NetBSD.

R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/9662044
</pre>
</div>
</content>
</entry>
<entry>
<title>cmd/vet: add assembly checker</title>
<updated>2013-03-22T19:14:40+00:00</updated>
<author>
<name>Russ Cox</name>
<email>rsc@golang.org</email>
</author>
<published>2013-03-22T19:14:40+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/go-git.git/commit/?id=b5cfbda21236d273047f6aaec04df29162c26901'/>
<id>b5cfbda21236d273047f6aaec04df29162c26901</id>
<content type='text'>
Fixes #5036.

R=golang-dev, r
CC=golang-dev
https://golang.org/cl/7531045
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes #5036.

R=golang-dev, r
CC=golang-dev
https://golang.org/cl/7531045
</pre>
</div>
</content>
</entry>
<entry>
<title>errchk: allow multiple patterns</title>
<updated>2011-08-16T15:14:26+00:00</updated>
<author>
<name>Russ Cox</name>
<email>rsc@golang.org</email>
</author>
<published>2011-08-16T15:14:26+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/go-git.git/commit/?id=a5d7c1f45e0b36a34462fd8ce10b869e7a12f246'/>
<id>a5d7c1f45e0b36a34462fd8ce10b869e7a12f246</id>
<content type='text'>
// ERROR "pattern1" "pattern2"

means that there has to be one or more
lines matching pattern1 and then excluding
those, there have to be one or more lines
matching pattern2.  So if you expect two
different error messages from a particular
line, writing two separate patterns checks
that both errors are produced.

Also, errchk now flags lines that produce
more errors than expected.  Before, as long as
at least one error matched the pattern, all the
others were ignored.

Revise tests to expect or silence these
additional errors.

R=lvd, r, iant
CC=golang-dev
https://golang.org/cl/4869044
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
// ERROR "pattern1" "pattern2"

means that there has to be one or more
lines matching pattern1 and then excluding
those, there have to be one or more lines
matching pattern2.  So if you expect two
different error messages from a particular
line, writing two separate patterns checks
that both errors are produced.

Also, errchk now flags lines that produce
more errors than expected.  Before, as long as
at least one error matched the pattern, all the
others were ignored.

Revise tests to expect or silence these
additional errors.

R=lvd, r, iant
CC=golang-dev
https://golang.org/cl/4869044
</pre>
</div>
</content>
</entry>
<entry>
<title>errchk: add -0 flag</title>
<updated>2011-08-02T19:19:44+00:00</updated>
<author>
<name>Russ Cox</name>
<email>rsc@golang.org</email>
</author>
<published>2011-08-02T19:19:44+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/go-git.git/commit/?id=16cdba8572ef96ec51e162fc9c1280df46d9e7d1'/>
<id>16cdba8572ef96ec51e162fc9c1280df46d9e7d1</id>
<content type='text'>
R=lvd
CC=golang-dev
https://golang.org/cl/4837049
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
R=lvd
CC=golang-dev
https://golang.org/cl/4837049
</pre>
</div>
</content>
</entry>
<entry>
<title>test: test of goto restrictions</title>
<updated>2011-06-20T18:06:00+00:00</updated>
<author>
<name>Russ Cox</name>
<email>rsc@golang.org</email>
</author>
<published>2011-06-20T18:06:00+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/go-git.git/commit/?id=e0a617496e52b7e1b71ca95ff5b10e4945267e0e'/>
<id>e0a617496e52b7e1b71ca95ff5b10e4945267e0e</id>
<content type='text'>
R=gri, iant, bradfitz, fvbommel, r
CC=golang-dev
https://golang.org/cl/4652041
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
R=gri, iant, bradfitz, fvbommel, r
CC=golang-dev
https://golang.org/cl/4652041
</pre>
</div>
</content>
</entry>
<entry>
<title>replace non-blocking send, receive syntax with select</title>
<updated>2011-01-31T23:36:28+00:00</updated>
<author>
<name>Russ Cox</name>
<email>rsc@golang.org</email>
</author>
<published>2011-01-31T23:36:28+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/go-git.git/commit/?id=f4e76d83091b43e88bb2a832c3b6424c3cc17e1d'/>
<id>f4e76d83091b43e88bb2a832c3b6424c3cc17e1d</id>
<content type='text'>
R=golang-dev, nigeltao, niemeyer, r
CC=golang-dev
https://golang.org/cl/4079053
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
R=golang-dev, nigeltao, niemeyer, r
CC=golang-dev
https://golang.org/cl/4079053
</pre>
</div>
</content>
</entry>
<entry>
<title>errchk: accept multiple source files</title>
<updated>2010-12-07T20:28:21+00:00</updated>
<author>
<name>Eoghan Sherry</name>
<email>ejsherry@gmail.com</email>
</author>
<published>2010-12-07T20:28:21+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/go-git.git/commit/?id=802360edb40d75c15d2d6ce49861d73fd98e3d88'/>
<id>802360edb40d75c15d2d6ce49861d73fd98e3d88</id>
<content type='text'>
R=rsc, iant
CC=golang-dev
https://golang.org/cl/3217042
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
R=rsc, iant
CC=golang-dev
https://golang.org/cl/3217042
</pre>
</div>
</content>
</entry>
<entry>
<title>fix build</title>
<updated>2010-09-16T00:00:00+00:00</updated>
<author>
<name>Robert Griesemer</name>
<email>gri@golang.org</email>
</author>
<published>2010-09-16T00:00:00+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/go-git.git/commit/?id=5667d8259980472f787b015079940d22ff54b2cd'/>
<id>5667d8259980472f787b015079940d22ff54b2cd</id>
<content type='text'>
R=iant
CC=golang-dev, ken2
https://golang.org/cl/2182043
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
R=iant
CC=golang-dev, ken2
https://golang.org/cl/2182043
</pre>
</div>
</content>
</entry>
</feed>
