Without this change the name would end up being a full path in a full
path. It's hard to manage, ugly to look at, and generally annoying.
---
generated_tests/templates/__init__.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/generated_tests/templates/__init__.py
b/generated_tests/templates/__init__.py
index d4d5d39..fe384e8 100644
--- a/generated_tests/templates/__init__.py
+++ b/generated_tests/templates/__init__.py
@@ -73,6 +73,7 @@ def template_file(generator, template):
return Template(filename=os.path.join(TEMPLATE_DIR, generator, template),
module_directory=os.path.join(MAKO_TEMP_DIR, generator),
future_imports=_FUTURES,
+ uri=template, # make the cache name reasonable
output_encoding='utf-8')
--
2.5.3
_______________________________________________
Piglit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/piglit