From 009176e8f879bf9440353dc1d74708fe54db86aa Mon Sep 17 00:00:00 2001
From: Sebastian Eibl <sebastian.eibl@fau.de>
Date: Fri, 28 Sep 2018 13:20:22 +0200
Subject: [PATCH] removed tests from clang tidy checks

---
 utilities/filterCompileCommands.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/utilities/filterCompileCommands.py b/utilities/filterCompileCommands.py
index d39a7fac8..3b0a08e7f 100755
--- a/utilities/filterCompileCommands.py
+++ b/utilities/filterCompileCommands.py
@@ -4,7 +4,7 @@ import json
 import sys
 
 def compileCommandSelector(x):
-   return not ("extern" in x["file"])
+   return not (("extern" in x["file"]) or ("tests" in x["file"]))
 
 if __name__ == "__main__":
    if (len(sys.argv) != 2):
-- 
GitLab