Use self.run_tests for make check

This commit is contained in:
Adam J. Stewart
2016-08-24 15:21:23 -05:00
parent 70bb1f1707
commit eace068788
11 changed files with 23 additions and 12 deletions

View File

@@ -40,5 +40,6 @@ class Lz4(Package):
def install(self, spec, prefix):
make()
# make('test') # requires valgrind to be installed
if self.run_tests:
make('test') # requires valgrind to be installed
make('install', 'PREFIX={0}'.format(prefix))