projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
64dccbb
)
style: ignore test data in style checks
author
Curtis Dunham
<Curtis.Dunham@arm.com>
Thu, 28 Apr 2016 14:19:58 +0000
(15:19 +0100)
committer
Curtis 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
patch
|
blob
|
history
diff --git
a/util/style/style.py
b/util/style/style.py
index a966f3097bbc39697ab4703d8d9797ebe96cee9b..9f3f0d0f0b50e839218e334eadcee3cda7c2b15c 100644
(file)
--- 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):