From d5f1537bc5d79676ad0bf56cb4d17acb8e2b0c81 Mon Sep 17 00:00:00 2001 From: Takao Fujiwara Date: Tue, 15 Apr 2025 03:00:31 +0900 Subject: [PATCH] Resolves: RHEL-1616 Add autogen.patch --- .../ibus-desktop-testing-role/files/autogen.patch | 13 +++++++++++++ .../roles/ibus-desktop-testing-role/tasks/main.yml | 9 +++++++-- 2 files changed, 20 insertions(+), 2 deletions(-) create mode 100644 tests/roles/ibus-desktop-testing-role/files/autogen.patch diff --git a/tests/roles/ibus-desktop-testing-role/files/autogen.patch b/tests/roles/ibus-desktop-testing-role/files/autogen.patch new file mode 100644 index 0000000..c270c0e --- /dev/null +++ b/tests/roles/ibus-desktop-testing-role/files/autogen.patch @@ -0,0 +1,13 @@ +diff --git a/autogen.sh b/autogen.sh +index 83779c7..507dab5 100755 +--- a/autogen.sh ++++ b/autogen.sh +@@ -16,7 +16,7 @@ fi + + mkdir -p m4 + +-autoreconf --force --install --verbose ++autoreconf --force --install + + cd $olddir + test -n "$NOCONFIGURE" || "$srcdir/configure" "$@" diff --git a/tests/roles/ibus-desktop-testing-role/tasks/main.yml b/tests/roles/ibus-desktop-testing-role/tasks/main.yml index 2949034..82e92f5 100644 --- a/tests/roles/ibus-desktop-testing-role/tasks/main.yml +++ b/tests/roles/ibus-desktop-testing-role/tasks/main.yml @@ -42,12 +42,17 @@ force: yes - name: Checkout v2021.1 tag in GNOME installed-tests testing harness - command: git checkout -b v2021.1 refs/tags/v2021.1 + command: git checkout -b v2021.1 refs/tags/v2021.1 2>&1 + args: + chdir: gnome-desktop-testing + + - name: Delete stderr in GNOME installed-tests testing harness build + command: patch -p1 < autogen.patch args: chdir: gnome-desktop-testing - name: Configure GNOME installed-tests testing harness build - command: ./autogen.sh --prefix=/usr --sysconfdir=/etc --localstatedir=/var 2>&1 + command: ./autogen.sh --prefix=/usr --sysconfdir=/etc --localstatedir=/var args: chdir: gnome-desktop-testing