diff --git a/tools/buildgen/plugins/make_fuzzer_tests.py b/tools/buildgen/plugins/make_fuzzer_tests.py index a9285d04521..8df7ae407b8 100644 --- a/tools/buildgen/plugins/make_fuzzer_tests.py +++ b/tools/buildgen/plugins/make_fuzzer_tests.py @@ -44,7 +44,7 @@ def mako_plugin(dictionary): new_target['deps'].insert(0, 'one_input_fuzzer') targets.append(new_target) for corpus in new_target['corpus_dirs']: - for fn in glob.glob('%s/*' % corpus): + for fn in sorted(glob.glob('%s/*' % corpus)): tests.append({ 'name': new_target['name'], 'args': [fn],