6879e5bb1c
git-subtree-dir: externals/catch git-subtree-split: ab6c7375be9a8e71ee84c6f8537113f9f47daf99
14 lines
288 B
Python
Executable file
14 lines
288 B
Python
Executable file
#!/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)
|