[Piglit] [PATCH] test_result.mako: Fix bug introduced by d9f87269c28c

Dylan Baker baker.dylan.c at gmail.com
Wed Sep 3 08:35:23 PDT 2014

The commit above changed the template to take a single value rather than
nearly a dozen, but the template arguments changed a few of the names to
shorter versions, including environment to env. The template was updated
incorrectly in the template, and environment has not been printed since

This patch fixes this simple bug.

Signed-off-by: Dylan Baker <dylanx.c.baker at intel.com>
 templates/test_result.mako | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/templates/test_result.mako b/templates/test_result.mako
index 42f336b..7baf05c 100644
--- a/templates/test_result.mako
+++ b/templates/test_result.mako
@@ -61,11 +61,11 @@
           <pre>${value.get('err', 'None') | h}</pre>
-    % if value.get('env') is not None:
+    % if value.get('environment') is not None:
-          <pre>${value.get('env') | h}</pre>
+          <pre>${value.get('environment') | h}</pre>
     % endif

More information about the Piglit mailing list