tests: Add regex-based ignore rules for ref files
authorAndreas Sandberg <andreas.sandberg@arm.com>
Fri, 22 Jul 2016 14:24:20 +0000 (15:24 +0100)
committerAndreas Sandberg <andreas.sandberg@arm.com>
Fri, 22 Jul 2016 14:24:20 +0000 (15:24 +0100)
commitc20b6c56f68fe829965826dd0040bd1a1ddd76c7
treea2a4d908a763019bbd49996023463b7650248cde
parent84f138ba96201431513eb2ae5f847389ac731aa2
tests: Add regex-based ignore rules for ref files

There are cases where we need to ignore files with specific extensions
(e.g., when Mercurial litters the file system with patch
rejects). Implement this functionality using a helper class
(FileIgnoreList) that supports both regular expressions and basic
string comparisons.

Change-Id: I34549754bd2e10ed230ffb2dc057403349f8fa78
Signed-off-by: Andreas Sandberg <andreas.sandberg@arm.com>
tests/testing/helpers.py
tests/testing/tests.py