summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rwxr-xr-xtools/checkdeps/checkdeps.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/checkdeps/checkdeps.py b/tools/checkdeps/checkdeps.py
index 6ee22b1..8bce31e 100755
--- a/tools/checkdeps/checkdeps.py
+++ b/tools/checkdeps/checkdeps.py
@@ -284,7 +284,7 @@ def ShouldCheckFile(file_name):
'.mm',
]
basename, extension = os.path.splitext(file_name)
- return extension in checked_extensions
+ return extension in checked_extensions or basename.find('test') != -1
def CheckLine(rules, line):