From 91b4cb6f5566ce3232d1b5a89533c7a1dc195e79 Mon Sep 17 00:00:00 2001 From: Parag Nemade Date: Mon, 18 Jul 2022 10:53:35 +0530 Subject: [PATCH] Update CI script and tests.yml Signed-off-by: Parag Nemade --- tests/smoke/runtest.sh | 14 +++++++++++++- tests/tests.yml | 9 ++++++++- 2 files changed, 21 insertions(+), 2 deletions(-) diff --git a/tests/smoke/runtest.sh b/tests/smoke/runtest.sh index 65e1ad1..b8492d6 100644 --- a/tests/smoke/runtest.sh +++ b/tests/smoke/runtest.sh @@ -1,4 +1,5 @@ #!/bin/bash +set -e cd ../source echo "---Start autogen.sh---" @@ -6,4 +7,15 @@ NOCONFIGURE=1 ./autogen.sh echo "---End autogen.sh---" echo "--------------------" -find . -type f -exec sed -i 's/env python/python3/g' {} \; && ./configure --disable-static --with-graphite2 && echo "--------------------"; echo "---Start make check---"; make check; echo "---End make check---" +./configure --disable-static --with-graphite2 --with-gobject --enable-introspection +echo "--------------------" +echo "---Start make check---" +make check +retval=$? +echo $retval +if [ $retval -ne 0 ]; then + echo "make check failed" +else + echo "make check completed sucessfully" +fi +echo "---End make check---" diff --git a/tests/tests.yml b/tests/tests.yml index c52c2d5..c1eec3c 100644 --- a/tests/tests.yml +++ b/tests/tests.yml @@ -4,7 +4,14 @@ - classic roles: - role: standard-test-source - + tasks: + - name: Enable EPEL repository for ragel + ansible.builtin.dnf: + name: ragel + enablerepo: epel + state: present + ignore_errors: True + - hosts: localhost tags: - classic