mirror of
https://git.suyu.dev/suyu/dynarmic.git
synced 2026-01-05 05:58:19 +01:00
Squashed 'externals/catch/' content from commit ab6c7375b
git-subtree-dir: externals/catch git-subtree-split: ab6c7375be9a8e71ee84c6f8537113f9f47daf99
This commit is contained in:
commit
6879e5bb1c
521 changed files with 182737 additions and 0 deletions
14
tools/scripts/checkDuplicateFilenames.py
Executable file
14
tools/scripts/checkDuplicateFilenames.py
Executable file
|
|
@ -0,0 +1,14 @@
|
|||
#!/usr/bin/env python3
|
||||
|
||||
import os
|
||||
import sys
|
||||
|
||||
files_set = set()
|
||||
|
||||
for root, dir, files in os.walk("src/catch2"):
|
||||
for file in files:
|
||||
if file not in files_set:
|
||||
files_set.add(file)
|
||||
else:
|
||||
print("File %s is duplicate" % file)
|
||||
sys.exit(1)
|
||||
Loading…
Add table
Add a link
Reference in a new issue