diff options
author | Dylan Baker <dylan@pnwbakers.com> | 2016-10-14 15:45:50 -0700 |
---|---|---|
committer | Dylan Baker <dylan@pnwbakers.com> | 2016-11-10 10:51:02 -0800 |
commit | 3a0192faab0afaab24bafef795fbf6b65dafb36a (patch) | |
tree | c1b2294a42186373d0e2d73eb5f41180a13589c5 /framework/profile.py | |
parent | 56f8ba1f9276ddd02669f630c40005838258840a (diff) |
framework: Remove exclude_tests from options.OPTIONS
Rather than putting this in a global variable, just add a filter for
this in the runner. Far simpler, and removes more globals.
Signed-off-by: Dylan Baker <dylanx.c.baker@intel.com>
Diffstat (limited to 'framework/profile.py')
-rw-r--r-- | framework/profile.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/framework/profile.py b/framework/profile.py index e016a3689..e00fbc4d7 100644 --- a/framework/profile.py +++ b/framework/profile.py @@ -260,7 +260,6 @@ class TestProfile(object): """Filter for user-specified restrictions""" return ((not options.OPTIONS.include_filter or matches_any_regexp(path, options.OPTIONS.include_filter)) - and path not in options.OPTIONS.exclude_tests and not matches_any_regexp(path, options.OPTIONS.exclude_filter)) filters = self.filters + [test_matches] |