Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/littlefs-project/littlefs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rwxr-xr-xtests/test.py9
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('-'):