Remove all test variants
This commit is contained in:
@@ -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")
|
||||
|
Reference in New Issue
Block a user