From e98e4ebe8cad891ff1ab8d8a7117ad1ec748e2a1 Mon Sep 17 00:00:00 2001 From: Parag Nemade Date: Fri, 21 May 2021 22:13:21 +0530 Subject: [PATCH] Add gating tests --- tests/smoke/runtest.sh | 7 +++++++ tests/tests.yml | 20 ++++++++++++++++++++ 2 files changed, 27 insertions(+) create mode 100644 tests/smoke/runtest.sh create mode 100644 tests/tests.yml diff --git a/tests/smoke/runtest.sh b/tests/smoke/runtest.sh new file mode 100644 index 0000000..985f950 --- /dev/null +++ b/tests/smoke/runtest.sh @@ -0,0 +1,7 @@ +#!/bin/bash +cd ../source +echo "Default installation does not have aspell binary so remove its execution" +sed -i 's/he.rws hunspell/hunspell/g' Makefile.in +./configure +sed -i '82,84d' test/test1 +make V=1 test diff --git a/tests/tests.yml b/tests/tests.yml new file mode 100644 index 0000000..12af46d --- /dev/null +++ b/tests/tests.yml @@ -0,0 +1,20 @@ +--- +- hosts: localhost + tags: + - classic + roles: + - role: standard-test-source + +- hosts: localhost + tags: + - classic + roles: + - role: standard-test-basic + tests: + - smoke + required_packages: + - gcc + - make + - hspell + - gzip + - zlib-devel