[Piglit] [PATCH 1/6] gen_tess_input_tests.py: Use mako to generate tests

Dylan Baker baker.dylan.c at gmail.com
Wed Oct 7 14:27:55 PDT 2015


This gives us a cached template, speeding up regenerating these tests,
which is especially helpful in a CI system like Jenkins.

Signed-off-by: Dylan Baker <dylanx.c.baker at intel.com>
---
 generated_tests/CMakeLists.txt                     |   5 +-
 generated_tests/gen_tess_input_tests.py            | 210 ++-------------------
 .../gen_tess_input_tests/tcs.shader_test.mako      | 115 +++++++++++
 .../gen_tess_input_tests/tes.shader_test.mako      | 114 +++++++++++
 4 files changed, 245 insertions(+), 199 deletions(-)
 create mode 100644 generated_tests/templates/gen_tess_input_tests/tcs.shader_test.mako
 create mode 100644 generated_tests/templates/gen_tess_input_tests/tes.shader_test.mako

[truncated because gmail sucks]

-- 
2.6.1



More information about the Piglit mailing list