framework: Add python version to mako template dirs

Graphics / Mesa 3D Graphics Library / Piglit - Dylan Baker [gmail.com] - 13 March 2015 17:19 UTC

Since these templates are at the very least not compatible betwen 3.x and 2.x, and possibly not backwards compatible from 3.x to 3.x-1 it makes better sense to actually maintain the version.

This allows easy transition between python versions without blowing away the mako cache on every iteration.

c4218e5 framework: Add python version to mako template dirs
framework/summary.py | 2 ++
generated_tests/templates/__init__.py | 2 ++
2 files changed, 4 insertions(+)

Upstream: cgit.freedesktop.org


  • Share