summaryrefslogtreecommitdiff
path: root/framework
diff options
context:
space:
mode:
authorJordan Justen <jordan.l.justen@intel.com>2012-10-08 11:00:29 -0700
committerJordan Justen <jordan.l.justen@intel.com>2012-10-19 18:10:30 -0700
commitc2058278314deda801cd6316973721ed3711c4c4 (patch)
treeeb27436f460c5ca4c17a67b9361c28bc2cc62f64 /framework
parenta268fc2adf7fc6c527fba10cd3309303d43235a4 (diff)
gbm: when using gbm, skip running glean tests
glean can be modified to use waffle, and thus support gbm. But in order to retain the multiple visuals testing for X, the waffle API will need to be updated. Therefore, for now we'll just skip glean with gbm. Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
Diffstat (limited to 'framework')
-rw-r--r--framework/exectest.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/framework/exectest.py b/framework/exectest.py
index 7e6279a6d..81970e8c4 100644
--- a/framework/exectest.py
+++ b/framework/exectest.py
@@ -43,6 +43,7 @@ class ExecTest(Test):
def __init__(self, command):
Test.__init__(self)
self.command = command
+ self.split_command = os.path.split(self.command[0])[1]
self.env = {}
if isinstance(self.command, basestring):
@@ -161,6 +162,10 @@ class ExecTest(Test):
return results
def check_for_skip_scenario(self, command):
+ global PIGLIT_PLATFORM
+ if PIGLIT_PLATFORM == 'gbm':
+ if 'glean' == self.split_command:
+ return True
return False
def get_command_result(self, command, fullenv):