style: ignore test data in style checks
authorCurtis Dunham <Curtis.Dunham@arm.com>
Thu, 28 Apr 2016 14:19:58 +0000 (15:19 +0100)
committerCurtis Dunham <Curtis.Dunham@arm.com>
Thu, 28 Apr 2016 14:19:58 +0000 (15:19 +0100)
Change-Id: If797eaf3842b5c1604942bb60f091800ee814a2a
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
util/style/style.py

index a966f3097bbc39697ab4703d8d9797ebe96cee9b..9f3f0d0f0b50e839218e334eadcee3cda7c2b15c 100644 (file)
@@ -113,6 +113,8 @@ style_ignores = [
     # Ignore external projects as they are unlikely to follow the gem5
     # coding convention.
     _re_ignore("^ext/"),
+    # Ignore test data, as they are not code
+    _re_ignore("^tests/(?:quick|long)/"),
 ]
 
 def check_ignores(fname):