summaryrefslogtreecommitdiff
path: root/playbooks
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.com>2018-03-01 20:00:24 +0100
committerAndreas Jaeger <aj@suse.com>2018-03-01 20:02:26 +0100
commit72af842b2818f5b43e073cd9196afcc91f6af60a (patch)
tree1305cccd638c12ccce4fce90d8df7062728a8cc8 /playbooks
parent7247b27d70dd4d363fbb3f0013bf54b9f1e38f85 (diff)
downloadliberasurecode-72af842b2818f5b43e073cd9196afcc91f6af60a.tar.gz
Import Zuul unittests
Add the unittests in-tree and convert them as Zuul v3 native tests so that they can be modified locally. This adds a new job running on Ubuntu and an experimental CentOS-7 one. Change-Id: Ib43e40280411623fda84f2068958b64a17cdc3dc
Diffstat (limited to 'playbooks')
-rw-r--r--playbooks/unittests/run.yaml15
1 files changed, 15 insertions, 0 deletions
diff --git a/playbooks/unittests/run.yaml b/playbooks/unittests/run.yaml
new file mode 100644
index 0000000..c66c4e3
--- /dev/null
+++ b/playbooks/unittests/run.yaml
@@ -0,0 +1,15 @@
+- hosts: all
+
+ tasks:
+ - name: Build and test
+ shell:
+ cmd: |
+ set -e
+ set -x
+ ./autogen.sh
+ ./configure
+ make
+ make test
+ make valgrind-test
+ executable: /bin/bash
+ chdir: '{{ zuul.project.src_dir }}'