Only run tests if explicitly requested

This commit is contained in:
Adam J. Stewart 2016-08-24 10:34:20 -05:00
parent d5903e4612
commit 5970b7a00a

View file

@ -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")