Only run tests if explicitly requested
This commit is contained in:
parent
d5903e4612
commit
5970b7a00a
1 changed files with 8 additions and 4 deletions
|
@ -79,21 +79,25 @@ def install(self, spec, prefix):
|
|||
|
||||
configure(*options)
|
||||
make()
|
||||
make("check")
|
||||
if self.run_tests:
|
||||
make("check")
|
||||
make("install")
|
||||
|
||||
if '+float' in spec:
|
||||
configure('--enable-float', *options)
|
||||
make()
|
||||
make("check")
|
||||
if self.run_tests:
|
||||
make("check")
|
||||
make("install")
|
||||
if '+long_double' in spec:
|
||||
configure('--enable-long-double', *options)
|
||||
make()
|
||||
make("check")
|
||||
if self.run_tests:
|
||||
make("check")
|
||||
make("install")
|
||||
if '+quad' in spec:
|
||||
configure('--enable-quad-precision', *options)
|
||||
make()
|
||||
make("check")
|
||||
if self.run_tests:
|
||||
make("check")
|
||||
make("install")
|
||||
|
|
Loading…
Reference in a new issue