[Piglit] [BUG]Symbols are not replaced correctly when generating the test's URL

Emil Velikov emil.l.velikov at gmail.com
Tue Sep 2 09:34:34 PDT 2014


Hello list,

When generating HTML summary of the results some symbols are not escaped
correctly, thus the links created for the related tests are invalid. See the
following examples

glsl1-Preprocessor test 11 (#elif)
glean/glsl1-Preprocessor%20test%2011%20(#elif).html

glsl1-Preprocessor test 15 (nested #if, #elif)
glean/glsl1-Preprocessor%20test%2015%20(nested%20#if, #elif).html

Afaics the parser trips over as soon at it reaches #. I'm suspecting that
other tests that have # in their name will also be affected.

My current piglit is build on

commit 3457f015314e57007b74918f79d8d02e4ada6ad7
Author: Dylan Baker <dylanx.c.baker at intel.com>
Date:   Thu Aug 28 16:00:21 2014 -0700

    tests/all.py: Add assertions for bad characters in test names

    '/' is not allowed in test names since it is used as the separator for
    groups.


Cheers,
Emil


More information about the Piglit mailing list