Remove all test variants
This commit is contained in:
@@ -62,8 +62,6 @@ class Go(Package):
|
||||
version('1.7.4', '49c1076428a5d3b5ad7ac65233fcca2f')
|
||||
version('1.6.4', 'b023240be707b34059d2c114d3465c92')
|
||||
|
||||
variant('test', default=True, description='Build and run tests as part of the build.')
|
||||
|
||||
provides('golang')
|
||||
|
||||
depends_on('git', type=('build', 'link', 'run'))
|
||||
@@ -93,7 +91,7 @@ def patch(self):
|
||||
def install(self, spec, prefix):
|
||||
bash = which('bash')
|
||||
with working_dir('src'):
|
||||
bash('{0}.bash'.format('all' if '+test' in spec else 'make'))
|
||||
bash('{0}.bash'.format('all' if self.run_tests else 'make'))
|
||||
|
||||
try:
|
||||
os.makedirs(prefix)
|
||||
|
Reference in New Issue
Block a user