diff options
author | Pavel Raiskup <praiskup@redhat.com> | 2014-10-27 14:05:44 +0100 |
---|---|---|
committer | Pavel Raiskup <praiskup@redhat.com> | 2014-10-27 14:05:44 +0100 |
commit | 62fdcbeaa5db9c2413a61f5f9a82d36835cb70bb (patch) | |
tree | 585ffd9bfbac6945bd0475f73523a4666e051e09 /controller/share/dtf-controller/results-stats-templates/html.tmpl | |
parent | f0e3aae770431b243403d74cf4d90bd7b673f319 (diff) | |
download | postgresql-setup-tests-62fdcbeaa5db9c2413a61f5f9a82d36835cb70bb.tar.gz postgresql-setup-tests-62fdcbeaa5db9c2413a61f5f9a82d36835cb70bb.tar.xz postgresql-setup-tests-62fdcbeaa5db9c2413a61f5f9a82d36835cb70bb.zip |
controller: better connect with other utilities
* controller/bin/dtf-controller.in (subcommand): Generate
stdout and stderr files separately.
(child_task): Generate '*.err' and '*.out' logs for subcommands.
Call dtf-run-remote with --distro/--distro-version options. Call
the dtf-result-stats finally and save its output to results.html.
(main): Simple debugging info and comment adjusting.
* controller/libexec/dtf-commit-results.in: Tak three arguments
now.
* controller/libexec/dtf-result-stats.in: Better read the
'tester/run' output.
* controller/share/dtf-controller/ansible/playbooks/fedora.yml:
Run the 'run --force' instead of 'run' on remote host.
* controller/share/dtf-controller/results-stats-templates/html.tmpl
React on exit_status 2.
Diffstat (limited to 'controller/share/dtf-controller/results-stats-templates/html.tmpl')
-rw-r--r-- | controller/share/dtf-controller/results-stats-templates/html.tmpl | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/controller/share/dtf-controller/results-stats-templates/html.tmpl b/controller/share/dtf-controller/results-stats-templates/html.tmpl index 8a09ad7..af06322 100644 --- a/controller/share/dtf-controller/results-stats-templates/html.tmpl +++ b/controller/share/dtf-controller/results-stats-templates/html.tmpl @@ -18,7 +18,9 @@ </tr> </thead><tbody> : for $results -> $result { - : if ($result.exit_status) { + : if ($result.exit_status == 0) { + <tr class="success"> + : } elsif ($result.exit_status == 2) { <tr class="danger"> : } else { <tr> |