Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

go 1.2 runs a very large test suite in the default build without an obvious option to disable the test run #6961

Closed
gopherbot opened this issue Dec 16, 2013 · 1 comment

Comments

@gopherbot
Copy link

by schwehr:

Need an option to enable/disable testing in the build process.

It's great that there are tons of tests, but it would be much better if that were an
option (or even an option to disable), but if it is, it's not clear.  With the fink
package, we have the option to run tests, but without support from the go build system,
I can't split off the tests.  Since every user installs from source, this is a serious
pain point, especially on wimpier devices like the macbook airs.  Like less than a
minute to build go and > 5 minutes of running tests.


[SNIP TONS]
# ../doc/codewalk

real    0m2.273s
user    0m1.941s
sys 0m0.252s

# ../misc/goplay

# ../test/bench/shootout
fasta
reverse-complement
nbody
binary-tree
binary-tree-freelist
fannkuch
fannkuch-parallel
regex-dna
regex-dna-parallel
spectral-norm
k-nucleotide
k-nucleotide-parallel
mandelbrot
meteor-contest
pidigits
threadring
chameneosredux

# ../test/bench/go1
ok      _/sw/src/fink.build/go-1.2-1/go/test/bench/go1  2.845s

# ../test

real    1m3.116s
user    2m3.911s
sys 0m39.262s
[SNIP TONS]
@adg
Copy link
Contributor

adg commented Dec 16, 2013

Comment 1:

make.bash builds the tool chain.
run.bash runs the tests.
all.bash runs both.
Just use make.bash.

Status changed to Invalid.

@golang golang locked and limited conversation to collaborators Jun 25, 2016
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants