Remove all test variants

This commit is contained in:
Adam J. Stewart
2017-04-20 12:13:11 -05:00
parent 21e4a81de0
commit 9ca0d1f5f0
8 changed files with 16 additions and 22 deletions

View File

@@ -50,7 +50,6 @@ class Paradiseo(Package):
variant('edo', default=True,
description='Compile with (Experimental) EDO module')
# variant('tests', default=False, description='Compile with build tests')
# variant('doc', default=False, description='Compile with documentation')
variant('debug', default=False,
description='Builds a debug version of the libraries')
@@ -87,7 +86,7 @@ def install(self, spec, prefix):
'-DSMP:BOOL=%s' % ('TRUE' if '+smp' in spec else 'FALSE'),
'-DEDO:BOOL=%s' % ('TRUE' if '+edo' in spec else 'FALSE'),
'-DENABLE_CMAKE_TESTING:BOOL=%s' % (
'TRUE' if '+tests' in spec else 'FALSE'),
'TRUE' if self.run_tests else 'FALSE'),
'-DENABLE_OPENMP:BOOL=%s' % (
'TRUE' if '+openmp' in spec else 'FALSE'),
'-DENABLE_GNUPLOT:BOOL=%s' % (
@@ -100,6 +99,6 @@ def install(self, spec, prefix):
# Build, test and install
make("VERBOSE=1")
if '+tests' in spec:
if self.run_tests:
make("test")
make("install")