1
0
mirror of https://github.com/ThrowTheSwitch/Unity synced 2025-06-01 03:59:32 -04:00

Merge pull request from ty93/master

unity_test_summary.py recursive search for test files
This commit is contained in:
Mark VanderVoord 2019-03-26 16:33:17 -04:00 committed by GitHub
commit 8507757c6a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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)