diff options
author | Dylan Baker <dylanx.c.baker@intel.com> | 2014-09-10 10:21:25 -0700 |
---|---|---|
committer | Dylan Baker <dylanx.c.baker@intel.com> | 2014-10-14 14:33:03 -0700 |
commit | 3d00e91606e06b1c74a3d479176f6ddc0de19db2 (patch) | |
tree | 7a042eea62e1ad26526f820573b16cacf273edff /piglit | |
parent | 85e382fe59104303394187afcdb7f0df4eb3e19e (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-x | piglit | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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: # |