summaryrefslogtreecommitdiff
path: root/piglit
diff options
context:
space:
mode:
authorDylan Baker <dylanx.c.baker@intel.com>2014-09-10 10:21:25 -0700
committerDylan Baker <dylanx.c.baker@intel.com>2014-10-14 14:33:03 -0700
commit3d00e91606e06b1c74a3d479176f6ddc0de19db2 (patch)
tree7a042eea62e1ad26526f820573b16cacf273edff /piglit
parent85e382fe59104303394187afcdb7f0df4eb3e19e (diff)
framework: Move tests derived classes into a package
This moves all of the classes that derive from Test into a package called test. This patch looks very large, but is mostly just moving files around and changing imports to account for this. So why all of this code churn? The big advantage is that through __init__.py magic there is one module to be imported, framework.test. This module contains all of the public classes, functions, and constants, in one place while hiding the rest, but allowing them to be accessed explicitly. Signed-off-by: Dylan Baker <dylanx.c.baker@intel.com>
Diffstat (limited to 'piglit')
-rwxr-xr-xpiglit2
1 files changed, 1 insertions, 1 deletions
diff --git a/piglit b/piglit
index c1c2520a6..5edfcfad1 100755
--- a/piglit
+++ b/piglit
@@ -64,7 +64,7 @@ def setup_module_search_path():
def is_piglit_data_dir(dirpath):
tested_piglit_data_dirs.append(dirpath)
- return path.exists(path.join(dirpath, 'framework', 'exectest.py'))
+ return path.exists(path.join(dirpath, 'framework'))
# This script may be in two valid locations:
#