summaryrefslogtreecommitdiff
path: root/zephyr/zmake/zmake/zmake.py
diff options
context:
space:
mode:
Diffstat (limited to 'zephyr/zmake/zmake/zmake.py')
-rw-r--r--zephyr/zmake/zmake/zmake.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/zephyr/zmake/zmake/zmake.py b/zephyr/zmake/zmake/zmake.py
index 307ed7a6b1..13b113af02 100644
--- a/zephyr/zmake/zmake/zmake.py
+++ b/zephyr/zmake/zmake/zmake.py
@@ -417,7 +417,7 @@ class Zmake:
return rv
for test_file in directory.glob('test_*.py'):
- self.executor.append(func=lambda: run_test(test_file))
+ self.executor.append(func=lambda f=test_file: run_test(f))
def testall(self):
"""Test all the valid test targets"""