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) configure(*options)
make() make()
make("check") if self.run_tests:
make("check")
make("install") make("install")
if '+float' in spec: if '+float' in spec:
configure('--enable-float', *options) configure('--enable-float', *options)
make() make()
make("check") if self.run_tests:
make("check")
make("install") make("install")
if '+long_double' in spec: if '+long_double' in spec:
configure('--enable-long-double', *options) configure('--enable-long-double', *options)
make() make()
make("check") if self.run_tests:
make("check")
make("install") make("install")
if '+quad' in spec: if '+quad' in spec:
configure('--enable-quad-precision', *options) configure('--enable-quad-precision', *options)
make() make()
make("check") if self.run_tests:
make("check")
make("install") make("install")