This allows sanity.py to export a profile instance, meaning it can be used as an import instead of an execfile.
Signed-off-by: Dylan Baker <[email protected]> --- tests/sanity.py | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/tests/sanity.py b/tests/sanity.py index 262172c..059127c 100644 --- a/tests/sanity.py +++ b/tests/sanity.py @@ -2,14 +2,11 @@ # Minimal tests to check whether the installation is working # -from framework.core import Group, TestProfile +from framework.core import TestProfile from framework.gleantest import GleanTest __all__ = ['profile'] -glean = Group() -glean['basic'] = GleanTest('basic') -glean['readPixSanity'] = GleanTest('readPixSanity') - profile = TestProfile() -profile.tests['glean'] = glean +profile.tests['glean/basic'] = GleanTest('basic') +profile.tests['glean/readPixSanity'] = GleanTest('readPixSanity') -- 1.8.5.2 _______________________________________________ Piglit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/piglit
