Skip to content

Commit

Permalink
Fixed test command line flags.
Browse files Browse the repository at this point in the history
  • Loading branch information
Albert Strasheim committed Feb 18, 2011
1 parent 56430b9 commit 25522dd
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .gitignore
@@ -1,7 +1,7 @@
*.6
*.8
*.os
_cgo_*.*
_cgo_*
*.cgo1.go
*.cgo2.c
.sconsign*
Expand Down
2 changes: 1 addition & 1 deletion goscons/gopkg.py
Expand Up @@ -87,7 +87,7 @@ def gopackage(env, srcdir, basedir=None, *args, **kw):
env.AlwaysBuild(a)
env.AlwaysBuild(env.Alias('test', a))
alias = 'bench_%s' % pkgname_
a = env.Alias(alias, t, '$GOTESTRUNNER ${SOURCES.abspath} -benchmarks=. -match="Do not run tests" $GOTESTARGS')
a = env.Alias(alias, t, '$GOTESTRUNNER ${SOURCES.abspath} -test.bench=. -test.run="Do not run tests" $GOTESTARGS')
env.AlwaysBuild(a)
env.AlwaysBuild(env.Alias('bench', a))

Expand Down
2 changes: 1 addition & 1 deletion goscons/gotest.py
Expand Up @@ -53,7 +53,7 @@ def emitter(target, source, env):
def generate(env):
env['BUILDERS']['GoTestMain'] = GoTestMainBuilder
env['GOTESTMAINCOM'] = GoTestMainAction
env['GOTESTARGS'] = SCons.Util.CLVar('-v=true')
env['GOTESTARGS'] = SCons.Util.CLVar('-test.v=true')
env['GOPACKAGE'] = None

def exists(env):
Expand Down

0 comments on commit 25522dd

Please sign in to comment.