diff options
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/test.py | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/tests/test.py b/tests/test.py index e74bc3c..24b0d1a 100755 --- a/tests/test.py +++ b/tests/test.py @@ -33,10 +33,15 @@ def generate(test): pass def compile(): - subprocess.check_call(['make', '--no-print-directory', '-s']) + subprocess.check_call([ + os.environ.get('MAKE', 'make'), + '--no-print-directory', '-s']) def execute(): - subprocess.check_call(["./lfs"]) + if 'EXEC' in os.environ: + subprocess.check_call([os.environ['EXEC'], "./lfs"]) + else: + subprocess.check_call(["./lfs"]) def main(test=None): if test and not test.startswith('-'): |