diff options
author | Adam J. Stewart <ajstewart426@gmail.com> | 2016-08-24 10:34:20 -0500 |
---|---|---|
committer | Adam J. Stewart <ajstewart426@gmail.com> | 2016-08-24 10:34:20 -0500 |
commit | 5970b7a00ab3c831ab3cae2307d4b15b486fac9a (patch) | |
tree | 0bbde396ed543df4747efa54b6a53173455f4a7a /var | |
parent | d5903e461204ae284aca133ca810e12b47f53089 (diff) | |
download | spack-5970b7a00ab3c831ab3cae2307d4b15b486fac9a.tar.gz spack-5970b7a00ab3c831ab3cae2307d4b15b486fac9a.tar.bz2 spack-5970b7a00ab3c831ab3cae2307d4b15b486fac9a.tar.xz spack-5970b7a00ab3c831ab3cae2307d4b15b486fac9a.zip |
Only run tests if explicitly requested
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/fftw/package.py | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/var/spack/repos/builtin/packages/fftw/package.py b/var/spack/repos/builtin/packages/fftw/package.py index 37d272e9c9..3069e39226 100644 --- a/var/spack/repos/builtin/packages/fftw/package.py +++ b/var/spack/repos/builtin/packages/fftw/package.py @@ -79,21 +79,25 @@ class Fftw(Package): 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") |