[Piglit] [PATCH] framework: Fix test exclude filtering

Shuang He shuang.he at intel.com
Thu Feb 16 17:05:38 PST 2012

The key to look up in dict may have been filtered out in previous filtering

Signed-off-by: Shuang He <shuang.he at intel.com>
 framework/core.py |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/framework/core.py b/framework/core.py
index 2414709..ea4b078 100644
--- a/framework/core.py
+++ b/framework/core.py
@@ -525,6 +525,7 @@ class TestProfile:
 			# Exclude tests that don't match any of the `filter' regexps (-t options)
 			if env.filter and not matches_any_regexp(path, env.filter):
 				del self.test_list[path]
+				continue
 			# Exclude tests that match an `exclude_filter' regexp (-x options)
 			if env.exclude_filter and matches_any_regexp(path, env.exclude_filter):

More information about the Piglit mailing list