From 3f24000d468c06116e818b9150cc9f71d325176f Mon Sep 17 00:00:00 2001 From: Curtis Dunham Date: Thu, 28 Apr 2016 15:19:58 +0100 Subject: [PATCH] style: ignore test data in style checks Change-Id: If797eaf3842b5c1604942bb60f091800ee814a2a Reviewed-by: Andreas Sandberg --- util/style/style.py | 2 ++ 1 file changed, 2 insertions(+) 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):