summaryrefslogtreecommitdiff
path: root/util/style
diff options
context:
space:
mode:
authorCurtis Dunham <Curtis.Dunham@arm.com>2016-04-28 15:19:58 +0100
committerCurtis Dunham <Curtis.Dunham@arm.com>2016-04-28 15:19:58 +0100
commit3f24000d468c06116e818b9150cc9f71d325176f (patch)
tree8d74051dfb66f6a181b5309097269c257fe7ab65 /util/style
parent64dccbbf1bb019a400d098d7b3747eed52045ce8 (diff)
downloadgem5-3f24000d468c06116e818b9150cc9f71d325176f.tar.xz
style: ignore test data in style checks
Change-Id: If797eaf3842b5c1604942bb60f091800ee814a2a Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Diffstat (limited to 'util/style')
-rw-r--r--util/style/style.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/util/style/style.py b/util/style/style.py
index a966f3097..9f3f0d0f0 100644
--- a/util/style/style.py
+++ b/util/style/style.py
@@ -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):