diff options
Diffstat (limited to 'non-puppet/qtmetrics2/templates/testset_testfunctions.html')
-rw-r--r-- | non-puppet/qtmetrics2/templates/testset_testfunctions.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/non-puppet/qtmetrics2/templates/testset_testfunctions.html b/non-puppet/qtmetrics2/templates/testset_testfunctions.html index d2ee081..d5c2d44 100644 --- a/non-puppet/qtmetrics2/templates/testset_testfunctions.html +++ b/non-puppet/qtmetrics2/templates/testset_testfunctions.html @@ -34,7 +34,7 @@ /** * Testset page (list of test functions) - * @since 21-09-2015 + * @since 24-09-2015 * @author Juha Sippola */ @@ -261,8 +261,8 @@ {% else %} {% set resultIcon = '' %} {% endif %} -{% if (run.getDuration / 10) > 60 %} -{% set durationFormatted = ' (00:' ~ ((run.getDuration/10)|round)|date("i:s") ~ ')' %} +{% if run.getDuration > 60 %} +{% set durationFormatted = ' (00:' ~ (run.getDuration|round)|date("i:s") ~ ')' %} {% else %} {% set durationFormatted = '' %} {% endif %} @@ -278,7 +278,7 @@ title="<table> <tr><th>Configuration: </th><td>{{ run.getConfName }}</td></tr> <tr><th>Timestamp: </th><td>{{ run.getTimestamp }}</td></tr> <tr><th>Result: </th><td>{{ run.getResult }} {{ testrowResult }}</td></tr> -<tr><th>Duration: </th><td>{{ run.getDuration / 10 }} s {{ durationFormatted }}</td></tr> +<tr><th>Duration: </th><td>{{ run.getDuration }} s {{ durationFormatted }}</td></tr> <tr><th>Blacklisted: </th><td>{% if run.getBlacklisted %}yes{% else %}no{% endif %}</td></tr></table>"> </span></td> {% set buildKeyFound = 1 %} |