diff options
author | Dylan Baker <dylanx.c.baker@intel.com> | 2014-09-25 23:43:52 -0700 |
---|---|---|
committer | Dylan Baker <dylanx.c.baker@intel.com> | 2014-10-14 15:13:11 -0700 |
commit | 534e6a8585ae6bd41148014d8d68c9018d7f94e4 (patch) | |
tree | a7811037ea20b2e2146763a5a19f6a0543bc8683 | |
parent | 99b1e3025e01c90b24ce53927dcf0f5ed710b40a (diff) |
piglit_test.py: fix potential bug in PiglitGLTest.is_skip()
Rather than returning False if is_skip() doesn't generate a True result,
it should return super().is_skip(). This fixes potential bugs caused by
introducing an is_skip() above PiglitGLTest in the class hierarchy.
Signed-off-by: Dylan Baker <dylanx.c.baker@intel.com>
-rw-r--r-- | framework/test/piglit_test.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/test/piglit_test.py b/framework/test/piglit_test.py index 9a301c2a8..cadd3ed80 100644 --- a/framework/test/piglit_test.py +++ b/framework/test/piglit_test.py @@ -124,7 +124,7 @@ class PiglitGLTest(WindowResizeMixin, PiglitBaseTest): return True elif self.__exclude_platforms and platform in self.__exclude_platforms: return True - return False + return super(PiglitGLTest, self).is_skip() @PiglitBaseTest.command.getter def command(self): |