diff options
author | Yujun Zhang <zhang.yujunz@zte.com.cn> | 2017-04-20 22:51:59 +0800 |
---|---|---|
committer | Yujun Zhang <zhang.yujunz@zte.com.cn> | 2017-04-21 13:43:50 +0800 |
commit | 6144eac326d14e26bbb849abea51c4cf7f3881b6 (patch) | |
tree | 15ab6fcd3eadfb6d9ae7d089b237a2f0416a9235 /resources/roles/unixbench | |
parent | 7273ca98a91399e188af15e192be93724977fe08 (diff) |
Group test results and report under node
Change-Id: I66286787d06c5012c6dcf516cffb9f6fd76522c5
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
Diffstat (limited to 'resources/roles/unixbench')
-rw-r--r-- | resources/roles/unixbench/tasks/main.yml | 12 | ||||
-rw-r--r-- | resources/roles/unixbench/templates/floating-point.j2 | 2 | ||||
-rw-r--r-- | resources/roles/unixbench/templates/integer.j2 | 2 |
3 files changed, 15 insertions, 1 deletions
diff --git a/resources/roles/unixbench/tasks/main.yml b/resources/roles/unixbench/tasks/main.yml index d9d5c8f7..9d4ae833 100644 --- a/resources/roles/unixbench/tasks/main.yml +++ b/resources/roles/unixbench/tasks/main.yml @@ -32,5 +32,15 @@ synchronize: mode: pull src: "{{ cwd }}/byte-unixbench-5.1.3/UnixBench/results" - dest: "{{ qtip_dump }}/{{ inventory_hostname }}/unixbench" + dest: "{{ qtip_results }}/{{ inventory_hostname }}/unixbench" use_ssh_args: yes + +- name: create integer and floating point report + template: + src: "{{ item }}.j2" + dest: "{{ qtip_results }}/{{ inventory_hostname }}/{{ item }}" + with_items: + - floating-point + - integer + delegate_to: localhost + tags: [report] diff --git a/resources/roles/unixbench/templates/floating-point.j2 b/resources/roles/unixbench/templates/floating-point.j2 new file mode 100644 index 00000000..5989d77c --- /dev/null +++ b/resources/roles/unixbench/templates/floating-point.j2 @@ -0,0 +1,2 @@ +Floating Point +==============
\ No newline at end of file diff --git a/resources/roles/unixbench/templates/integer.j2 b/resources/roles/unixbench/templates/integer.j2 new file mode 100644 index 00000000..b494515f --- /dev/null +++ b/resources/roles/unixbench/templates/integer.j2 @@ -0,0 +1,2 @@ +Integer +=======
\ No newline at end of file |