From: Dylan Baker <[email protected]> Currently the comments are not sorted, and therefor not deterministic, which makes it very difficult to diff the output when trying to make changes and ensure not changes. This makes the output deterministic.
Signed-off-by: Dylan Baker <[email protected]> --- tests/util/piglit-dispatch-gen.h.mako | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/util/piglit-dispatch-gen.h.mako b/tests/util/piglit-dispatch-gen.h.mako index feb4be8..2c45643 100644 --- a/tests/util/piglit-dispatch-gen.h.mako +++ b/tests/util/piglit-dispatch-gen.h.mako @@ -45,7 +45,7 @@ typedef ${f.c_return_type} (APIENTRY *PFN${f.name.upper()}PROC)(${f.c_named_para <% f0 = alias_set.primary_command %>\ % for command in alias_set: /* ${command.name} -% for requirement in command.requirements: +% for requirement in sorted(command.requirements): .................. (${requirement.provider.name}) % endfor ................................................. */ -- 2.2.1 _______________________________________________ Piglit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/piglit
