python: Make mako template dirs robust

Graphics / Mesa 3D Graphics Library / Piglit - Dylan Baker [gmail.com] - 5 May 2016 17:15 UTC

This puts the templates in a directory structure that makes them robust to both changes in python version and mako version.

This fixes errors caused by downgrading mako, which isn't that common, unless you're running the unit tests with use the oldest supported mako, and may conflict with the compiled templates from the system mako.

11e4950 python: Make mako template dirs robust
framework/summary/html_.py | 14 +++++++++-----
generated_tests/templates/__init__.py | 11 +++++++----
2 files changed, 16 insertions(+), 9 deletions(-)

Upstream: cgit.freedesktop.org


  • Share