<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/go.git/test/testlib, branch dev.garbage</title>
<subtitle>code.google.com: Obsolete (use go-git)
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/go.git/'/>
<entry>
<title>test/run: process build tags like go/build</title>
<updated>2013-08-13T16:25:41+00:00</updated>
<author>
<name>Anthony Martin</name>
<email>ality@pbrane.org</email>
</author>
<published>2013-08-13T16:25:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/go.git/commit/?id=037bc7f20827578de55a209f28398e0d710315dc'/>
<id>037bc7f20827578de55a209f28398e0d710315dc</id>
<content type='text'>
R=bradfitz, dave, rsc, r
CC=golang-dev
https://codereview.appspot.com/10001045

Committer: Russ Cox &lt;rsc@golang.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
R=bradfitz, dave, rsc, r
CC=golang-dev
https://codereview.appspot.com/10001045

Committer: Russ Cox &lt;rsc@golang.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>test: add support for build tags.</title>
<updated>2013-01-28T20:29:45+00:00</updated>
<author>
<name>R?my Oudompheng</name>
<email>oudomphe@phare.normalesup.org</email>
</author>
<published>2013-01-28T20:29:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/go.git/commit/?id=7ef6780a1d45f7ba4fb61c81ef847c2a3d2e5ac3'/>
<id>7ef6780a1d45f7ba4fb61c81ef847c2a3d2e5ac3</id>
<content type='text'>
This enables a few tests that were only executed
unconditionnally.

R=rsc, minux.ma, bradfitz
CC=golang-dev
https://codereview.appspot.com/7103051
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This enables a few tests that were only executed
unconditionnally.

R=rsc, minux.ma, bradfitz
CC=golang-dev
https://codereview.appspot.com/7103051
</pre>
</div>
</content>
</entry>
<entry>
<title>test/run: handle compiledir and errorcheckdir with multi-file packages</title>
<updated>2013-01-02T20:31:49+00:00</updated>
<author>
<name>Russ Cox</name>
<email>rsc@golang.org</email>
</author>
<published>2013-01-02T20:31:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/go.git/commit/?id=22ec0d37b101267e0c01536d0dd869d7b0a9ad5f'/>
<id>22ec0d37b101267e0c01536d0dd869d7b0a9ad5f</id>
<content type='text'>
Multiple files with the same package all get compiled together.

R=golang-dev, iant, dave
CC=golang-dev
https://codereview.appspot.com/7005053
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Multiple files with the same package all get compiled together.

R=golang-dev, iant, dave
CC=golang-dev
https://codereview.appspot.com/7005053
</pre>
</div>
</content>
</entry>
<entry>
<title>test: run index test by default</title>
<updated>2012-11-07T20:33:54+00:00</updated>
<author>
<name>Ian Lance Taylor</name>
<email>iant@golang.org</email>
</author>
<published>2012-11-07T20:33:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/go.git/commit/?id=5a4efa4e2730cd0417e36d714d14ac8bafd89575'/>
<id>5a4efa4e2730cd0417e36d714d14ac8bafd89575</id>
<content type='text'>
Running this test via "bash run" uncovered three different
bugs (4344, 4348, 4353).  We need to run it by default.

R=golang-dev, rsc
CC=golang-dev
http://codereview.appspot.com/6832043
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Running this test via "bash run" uncovered three different
bugs (4344, 4348, 4353).  We need to run it by default.

R=golang-dev, rsc
CC=golang-dev
http://codereview.appspot.com/6832043
</pre>
</div>
</content>
</entry>
<entry>
<title>test/testlib: don't forget stderr for rundircmpout.</title>
<updated>2012-10-07T21:14:20+00:00</updated>
<author>
<name>R?my Oudompheng</name>
<email>oudomphe@phare.normalesup.org</email>
</author>
<published>2012-10-07T21:14:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/go.git/commit/?id=25657303b6d9a351354abf644053efe6c7c4f25e'/>
<id>25657303b6d9a351354abf644053efe6c7c4f25e</id>
<content type='text'>
R=golang-dev, rsc
CC=golang-dev
http://codereview.appspot.com/6620071
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
R=golang-dev, rsc
CC=golang-dev
http://codereview.appspot.com/6620071
</pre>
</div>
</content>
</entry>
<entry>
<title>test: Add rundir, rundircmpout and errorcheckdir commands to testlib and run.go</title>
<updated>2012-10-06T07:23:31+00:00</updated>
<author>
<name>Daniel Morsing</name>
<email>daniel.morsing@gmail.com</email>
</author>
<published>2012-10-06T07:23:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/go.git/commit/?id=ac60201f4caf1df7659ababac983018f4a2cbe2e'/>
<id>ac60201f4caf1df7659ababac983018f4a2cbe2e</id>
<content type='text'>
rundir will compile each file in the directory in lexicographic order, link the last file as the main package and run the resulting program. rundircmpout is an related command, that will compare the output of the program to an corresponding .out file

errorcheckdir will compile each file in a directory in lexicographic order, running errorcheck on each file as it compiles. All compilations are assumed to be successful except for the last file. However, If a -0 flag is present on the command, the last compilation will also be assumed successful

This CL also includes a small refactoring of run.go. It was getting unwieldy and the meaning of the run commands was hidden behind argument line formatting.

Fixes issue 4058.

R=rsc, minux.ma, remyoudompheng, iant
CC=golang-dev
http://codereview.appspot.com/6554071
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
rundir will compile each file in the directory in lexicographic order, link the last file as the main package and run the resulting program. rundircmpout is an related command, that will compare the output of the program to an corresponding .out file

errorcheckdir will compile each file in a directory in lexicographic order, running errorcheck on each file as it compiles. All compilations are assumed to be successful except for the last file. However, If a -0 flag is present on the command, the last compilation will also be assumed successful

This CL also includes a small refactoring of run.go. It was getting unwieldy and the meaning of the run commands was hidden behind argument line formatting.

Fixes issue 4058.

R=rsc, minux.ma, remyoudompheng, iant
CC=golang-dev
http://codereview.appspot.com/6554071
</pre>
</div>
</content>
</entry>
<entry>
<title>test: minor fixes in run and testlib</title>
<updated>2012-09-24T04:06:31+00:00</updated>
<author>
<name>Russ Cox</name>
<email>rsc@golang.org</email>
</author>
<published>2012-09-24T04:06:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/go.git/commit/?id=7ea1eaee177e135dcaa14f3b3750c2cda7fa23ba'/>
<id>7ea1eaee177e135dcaa14f3b3750c2cda7fa23ba</id>
<content type='text'>
Can tell this doesn't get run very often, but it is still important
for when you've broken everything else.

R=golang-dev, r
CC=golang-dev
http://codereview.appspot.com/6547065
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Can tell this doesn't get run very often, but it is still important
for when you've broken everything else.

R=golang-dev, r
CC=golang-dev
http://codereview.appspot.com/6547065
</pre>
</div>
</content>
</entry>
<entry>
<title>test: expand run.go's errorcheck, make clear which bugs run</title>
<updated>2012-09-23T17:16:14+00:00</updated>
<author>
<name>Russ Cox</name>
<email>rsc@golang.org</email>
</author>
<published>2012-09-23T17:16:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/go.git/commit/?id=260a8f7f7b2f5612113ee081b02000b2437b0104'/>
<id>260a8f7f7b2f5612113ee081b02000b2437b0104</id>
<content type='text'>
Today, if run.go doesn't understand a test header line it just ignores
the test, making it too easy to write or edit tests that are not actually
being run.

- expand errorcheck to accept flags, so that bounds.go and escape*.go can run.
- create a whitelist of skippable tests in run.go; skipping others is an error.
- mark all skipped tests at top of file.

Update issue 4139.

R=golang-dev, bradfitz
CC=golang-dev
http://codereview.appspot.com/6549054
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Today, if run.go doesn't understand a test header line it just ignores
the test, making it too easy to write or edit tests that are not actually
being run.

- expand errorcheck to accept flags, so that bounds.go and escape*.go can run.
- create a whitelist of skippable tests in run.go; skipping others is an error.
- mark all skipped tests at top of file.

Update issue 4139.

R=golang-dev, bradfitz
CC=golang-dev
http://codereview.appspot.com/6549054
</pre>
</div>
</content>
</entry>
<entry>
<title>test: add a compiledir pattern in run.go</title>
<updated>2012-07-30T19:12:05+00:00</updated>
<author>
<name>R?my Oudompheng</name>
<email>oudomphe@phare.normalesup.org</email>
</author>
<published>2012-07-30T19:12:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/go.git/commit/?id=09211501f75dd30633efcb6144d34eba926c587f'/>
<id>09211501f75dd30633efcb6144d34eba926c587f</id>
<content type='text'>
The compiledir pattern compiles all files xxx.dir/*.go
in lexicographic order (which is assumed to coincide with
the topological order of dependencies).

R=rsc
CC=golang-dev, remy
http://codereview.appspot.com/6440048
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The compiledir pattern compiles all files xxx.dir/*.go
in lexicographic order (which is assumed to coincide with
the topological order of dependencies).

R=rsc
CC=golang-dev, remy
http://codereview.appspot.com/6440048
</pre>
</div>
</content>
</entry>
<entry>
<title>test: use testlib in a few more cases (part 2)</title>
<updated>2012-04-20T15:45:43+00:00</updated>
<author>
<name>Shenghou Ma</name>
<email>minux.ma@gmail.com</email>
</author>
<published>2012-04-20T15:45:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/go.git/commit/?id=872940503e95dfff5a4b9b47f59c6200c6fa2b21'/>
<id>872940503e95dfff5a4b9b47f59c6200c6fa2b21</id>
<content type='text'>
        Introduced "runoutput" cmd for running generated program

R=golang-dev, iant, bradfitz, remyoudompheng
CC=golang-dev
http://codereview.appspot.com/5869049
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
        Introduced "runoutput" cmd for running generated program

R=golang-dev, iant, bradfitz, remyoudompheng
CC=golang-dev
http://codereview.appspot.com/5869049
</pre>
</div>
</content>
</entry>
</feed>
