import sources

This commit is contained in:
Adam Samalik 2023-06-21 13:02:50 +02:00
parent ad086f52bc
commit a5117774ca
7 changed files with 151 additions and 2 deletions

66
.gitignore vendored
View File

@ -1,2 +1,66 @@
/bug753605-atsize.jpg
gdk-pixbuf-2.21.6.tar.bz2
/gdk-pixbuf-2.22.0.tar.bz2
/gdk-pixbuf-2.22.1.tar.bz2
/gdk-pixbuf-2.23.0.tar.bz2
/gdk-pixbuf-2.23.1.tar.bz2
/gdk-pixbuf-2.23.3.tar.bz2
/gdk-pixbuf-2.23.4.tar.xz
/gdk-pixbuf-2.23.5.tar.bz2
/gdk-pixbuf-2.24.0.tar.xz
/gdk-pixbuf-2.25.0.tar.xz
/gdk-pixbuf-2.25.2.tar.xz
/gdk-pixbuf-2.26.0.tar.xz
/gdk-pixbuf-2.26.1.tar.xz
/gdk-pixbuf-2.26.2.tar.xz
/gdk-pixbuf-2.26.4.tar.xz
/gdk-pixbuf-2.26.5.tar.xz
/gdk-pixbuf-2.27.0.tar.xz
/gdk-pixbuf-2.27.1.tar.xz
/gdk-pixbuf-2.27.2.tar.xz
/gdk-pixbuf-2.27.3.tar.xz
/gdk-pixbuf-2.28.0.tar.xz
/gdk-pixbuf-2.28.1.tar.xz
/gdk-pixbuf-2.29.0.tar.xz
/gdk-pixbuf-2.29.1.tar.xz
/gdk-pixbuf-2.29.2.tar.xz
/gdk-pixbuf-2.29.3.tar.xz
/gdk-pixbuf-2.30.0.tar.xz
/gdk-pixbuf-2.30.1.tar.xz
/gdk-pixbuf-2.30.2.tar.xz
/gdk-pixbuf-2.30.3.tar.xz
/gdk-pixbuf-2.30.4.tar.xz
/gdk-pixbuf-2.30.5.tar.xz
/gdk-pixbuf-2.30.6.tar.xz
/gdk-pixbuf-2.30.7.tar.xz
/gdk-pixbuf-2.30.8.tar.xz
/gdk-pixbuf-2.31.0.tar.xz
/gdk-pixbuf-2.31.1.tar.xz
/gdk-pixbuf-2.31.2.tar.xz
/gdk-pixbuf-2.31.3.tar.xz
/gdk-pixbuf-2.31.4.tar.xz
/gdk-pixbuf-2.31.5.tar.xz
/gdk-pixbuf-2.31.6.tar.xz
/gdk-pixbuf-2.31.7.tar.xz
/gdk-pixbuf-2.32.0.tar.xz
/gdk-pixbuf-2.32.1.tar.xz
/gdk-pixbuf-2.33.1.tar.xz
/gdk-pixbuf-2.33.2.tar.xz
/gdk-pixbuf-2.34.0.tar.xz
/gdk-pixbuf-2.35.1.tar.xz
/gdk-pixbuf-2.35.2.tar.xz
/gdk-pixbuf-2.35.3.tar.xz
/gdk-pixbuf-2.35.4.tar.xz
/gdk-pixbuf-2.35.5.tar.xz
/gdk-pixbuf-2.36.0.tar.xz
/gdk-pixbuf-2.36.1.tar.xz
/gdk-pixbuf-2.36.2.tar.xz
/gdk-pixbuf-2.36.3.tar.xz
/gdk-pixbuf-2.36.4.tar.xz
/gdk-pixbuf-2.36.5.tar.xz
/gdk-pixbuf-2.36.6.tar.xz
/gdk-pixbuf-2.36.7.tar.xz
/gdk-pixbuf-2.36.8.tar.xz
/gdk-pixbuf-2.36.9.tar.xz
/gdk-pixbuf-2.36.10.tar.xz
/gdk-pixbuf-2.36.11.tar.xz
/gdk-pixbuf-2.36.12.tar.xz

BIN
bug753605-atsize.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 79 KiB

View File

@ -1,2 +1 @@
SHA512 (bug753605-atsize.jpg) = d27197d2395446cd3c970841381958f7eb1b8df78913f7da70bec5f09af6edfc5dd74cd809c37ec8cf69f0eba504e0cc6354f1ec6ce3ec2192ad316cb64b69c9
SHA512 (gdk-pixbuf-2.36.12.tar.xz) = 5d3bd620cf464bf92079b15c78f8400db48c427053c6eeedc4ea9652a4c290a09a26310100cc7eb487daf4b565df9f7e3a6edf14685f81ddbff6a0652fb6b41b

View File

@ -0,0 +1,3 @@
role_pkgs_req:
- rsync
- xorg-x11-server-Xvfb

View File

@ -0,0 +1,4 @@
---
dependencies:
- role: str-common-init

View File

@ -0,0 +1,71 @@
---
- name: Check if GNOME installed-tests testing harness is installed
register: gnome_desktop_testing_runner
find:
paths: "{{ ansible_env.PATH.split(':') }}"
pattern: gnome-desktop-testing-runner
- name: Build and install GNOME installed-tests testing harness
when: gnome_desktop_testing_runner.matched == 0
block:
- name: Installing build dependencies for GNOME installed-tests testing harness
package:
name:
- git
- make
- gcc
- diffutils
- autoconf
- automake
- libtool
- glib2-devel
- systemd-devel
- name: Fetching GNOME installed-tests testing harness source from remote repository
git:
repo: 'https://gitlab.gnome.org/GNOME/gnome-desktop-testing.git'
dest: gnome-desktop-testing
force: yes
- name: Configure GNOME installed-tests testing harness build
command: ./autogen.sh --prefix=/usr --sysconfdir=/etc --localstatedir=/var
args:
chdir: gnome-desktop-testing
- name: Build GNOME installed-tests testing harness
command: make
args:
chdir: gnome-desktop-testing
- name: Install GNOME installed-tests testing harness
command: make install
args:
chdir: gnome-desktop-testing
- name: Start GNOME installed-tests testing harness
block:
- name: Execute tests
shell: |
set -e
log_file="{{ remote_artifacts }}/{{ installed_test_name }}.log"
exec 2>>$log_file 1>>$log_file
status="FAIL"
dbus-run-session xvfb-run -a -s '-screen 0 1024x768x24' env TMPDIR='{{ remote_artifacts }}' G_MESSAGES_DEBUG='all' gnome-desktop-testing-runner '{{ installed_test_name }}'
if [ $? -eq 0 ]; then
status="PASS"
fi
echo "${status} $TEST" >> {{ remote_artifacts }}/test.log
- name: Check the results
shell: grep "^FAIL" {{ remote_artifacts }}/test.log
register: test_fails
failed_when: False
- name: Set role result
set_fact:
role_result_failed: "{{ (test_fails.stdout|d|length > 0) or (test_fails.stderr|d|length > 0) }}"
role_result_msg: "{{ test_fails.stdout|d('tests failed.') }}"
- include_role:
name: str-common-final

8
tests/tests.yml Normal file
View File

@ -0,0 +1,8 @@
- hosts: localhost
roles:
- role: gnome-desktop-testing-role
installed_test_name: gdk-pixbuf
tags:
- classic
- gating