Reviewed-by: Dylan Baker <[email protected]>
On Sun, Mar 08, 2015 at 01:44:17PM -0700, Vinson Lee wrote: > Signed-off-by: Vinson Lee <[email protected]> > --- > tests/es3conform.py | 15 +++++++++------ > 1 file changed, 9 insertions(+), 6 deletions(-) > > diff --git a/tests/es3conform.py b/tests/es3conform.py > index 540a739..20b408b 100644 > --- a/tests/es3conform.py > +++ b/tests/es3conform.py > @@ -32,11 +32,11 @@ from framework.test import TEST_BIN_DIR, Test > __all__ = ['profile'] > > ############################################################################# > -##### GTFTest: Execute a sub-test of the Khronos ES 3.0 Conformance suite. > -##### > -##### To use this, create a 'GTF3' symlink in piglit/bin which points to the > -##### Khronos 'GTF' executable. Piglit will automatically add all .test > -##### files into the 'gtf' category. > +# GTFTest: Execute a sub-test of the Khronos ES 3.0 Conformance suite. > +# > +# To use this, create a 'GTF3' symlink in piglit/bin which points to the > +# Khronos 'GTF' executable. Piglit will automatically add all .test > +# files into the 'gtf' category. > ############################################################################# > > if not path.exists(path.join(TEST_BIN_DIR, 'GTF3')): > @@ -47,8 +47,10 @@ profile = TestProfile() > # Chase the piglit/bin/GTF symlink to find where the tests really live. > gtfroot = path.dirname(path.realpath(path.join(TEST_BIN_DIR, 'GTF3'))) > > + > class GTFTest(Test): > - pass_re = re.compile(r'(Conformance|Regression) PASSED all > (?P<passed>\d+) tests') > + pass_re = re.compile( > + r'(Conformance|Regression) PASSED all (?P<passed>\d+) tests') > > def __init__(self, testpath): > super(GTFTest, self).__init__([path.join(TEST_BIN_DIR, 'GTF3'), > @@ -62,6 +64,7 @@ class GTFTest(Test): > else: > self.result['result'] = 'fail' > > + > def populateTests(runfile): > "Read a .run file, adding any .test files to the profile" > with open(runfile, 'r') as f: > -- > 2.3.1 > > _______________________________________________ > Piglit mailing list > [email protected] > http://lists.freedesktop.org/mailman/listinfo/piglit
signature.asc
Description: Digital signature
_______________________________________________ Piglit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/piglit
