Ensure that tests are optional (#3922)

This commit is contained in:
Adam J. Stewart
2017-04-21 12:15:39 -05:00
committed by GitHub
parent 5250e8ee89
commit 46d0ca9d01
13 changed files with 24 additions and 14 deletions

View File

@@ -67,7 +67,8 @@ def build(self, spec, prefix):
with working_dir('long-double'):
make()
def check(self, spec, prefix):
def check(self):
spec = self.spec
if '+double' in spec['fftw']:
with working_dir('double'):
make("check")