From 262e5f57c8ef2ca895d821e325c38d6d67a1182f Mon Sep 17 00:00:00 2001 From: Adam Samalik Date: Tue, 18 Jul 2023 12:02:16 +0200 Subject: [PATCH] re-import sources as agreed with the maintainer --- .gitignore | 10 +++++++++- tests/make_check.sh | 15 +++++++++++++++ tests/tests.yml | 29 +++++++++++++++++++++++++++++ 3 files changed, 53 insertions(+), 1 deletion(-) create mode 100644 tests/make_check.sh create mode 100644 tests/tests.yml diff --git a/.gitignore b/.gitignore index 227def4..0800d96 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,10 @@ -SOURCES/ibus-hangul-1.5.1.tar.gz +ibus-hangul-1.2.0.20100102.tar.gz +ibus-hangul-1.3.0.20100329.tar.gz +/ibus-hangul-1.3.0.20100329.tar.gz +/ibus-hangul-1.3.1.tar.gz +/ibus-hangul-1.3.2.tar.gz +/ibus-hangul-1.4.0.tar.gz +/ibus-hangul-1.4.1.tar.gz +/ibus-hangul-1.4.2.tar.gz +/ibus-hangul-1.5.0.tar.gz /ibus-hangul-1.5.1.tar.gz diff --git a/tests/make_check.sh b/tests/make_check.sh new file mode 100644 index 0000000..7e5a313 --- /dev/null +++ b/tests/make_check.sh @@ -0,0 +1,15 @@ +#!/bin/bash + +set -x + +check_return_value () { + if [ $1 != 0 ] ; then + exit $1 + fi +} + +cd $1 +./configure --prefix=/usr +check_return_value $? +make check +exit $? diff --git a/tests/tests.yml b/tests/tests.yml new file mode 100644 index 0000000..1504ee3 --- /dev/null +++ b/tests/tests.yml @@ -0,0 +1,29 @@ +- hosts: localhost + vars: + - artifacts: "{{ lookup('env', 'TEST_ARTIFACTS')|default('./artifacts', true) }}" + tags: + - classic + remote_user: root + roles: + - role: standard-test-source # to get the source tar ball to do “make check” + - role: standard-test-basic + required_packages: + - make + - libappstream-glib + - desktop-file-utils + - python3-gobject + - python3-gobject-base + - glib2 + - gtk3 + - dconf + - dbus-x11 + - ibus + - ibus-devel + - gcc + - intltool + - python3-devel + - libhangul-devel + tests: + - make-check: + dir: ./ + run: bash ./make_check.sh ./source