summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Mistewicz <a.mistewicz@samsung.com>2016-11-29 15:42:36 +0100
committerAleksander Mistewicz <a.mistewicz@samsung.com>2017-01-09 21:01:20 +0100
commit976b01fad48949ee7f48aef61ff1e797461d6143 (patch)
treea63d1c3c338807312295a6973e21fb9bf52f7b79
parent616baf553a557da7532e16ba7cc1f6609cc9c9c4 (diff)
downloadhost-976b01fad48949ee7f48aef61ff1e797461d6143.tar.gz
host-976b01fad48949ee7f48aef61ff1e797461d6143.tar.bz2
host-976b01fad48949ee7f48aef61ff1e797461d6143.zip
Add avocado-framework install procedure
Relevant Change-Id: I438d266802b9d9b29e4dd3f7314f3ec1f5776fca Change-Id: I9efc37fedd366a90a48b851fd2830005a061787e
-rw-r--r--config/hosts/runner/roles/system/tasks/main.yml15
1 files changed, 15 insertions, 0 deletions
diff --git a/config/hosts/runner/roles/system/tasks/main.yml b/config/hosts/runner/roles/system/tasks/main.yml
index b7b7229..7882574 100644
--- a/config/hosts/runner/roles/system/tasks/main.yml
+++ b/config/hosts/runner/roles/system/tasks/main.yml
@@ -33,3 +33,18 @@
- g++
- make
- cmake
+
+- name: Clone avocado repo
+ git:
+ repo: git://github.com/avocado-framework/avocado.git
+ dest: ~/avocado-framework
+ version: 44.0
+ register: avocadoclone
+
+- name: Install avocado
+ command: "{{ item }} chdir=~/avocado-framework/"
+ with_items:
+ - make requirements
+ - make link
+ - python setup.py install
+ when: avocadoclone.changed