diff --git a/auto/unity_test_summary.py b/auto/unity_test_summary.py index 4c20e528dfaef182cc4cc63ea2fe47ac95b02fa1..00c0da8cc3a7a3fbe2e17abe28948e1b2a4d7322 100644 --- a/auto/unity_test_summary.py +++ b/auto/unity_test_summary.py @@ -121,7 +121,7 @@ if __name__ == '__main__': targets_dir = sys.argv[1] else: targets_dir = './' - targets = list(map(lambda x: x.replace('\\', '/'), glob(targets_dir + '*.test*'))) + targets = list(map(lambda x: x.replace('\\', '/'), glob(targets_dir + '**/*.test*', recursive=True))) if len(targets) == 0: raise Exception("No *.testpass or *.testfail files found in '%s'" % targets_dir) uts.set_targets(targets)