re-import sources as agreed with the maintainer
This commit is contained in:
parent
01e4bb6298
commit
da2c1ddbdf
62
.gitignore
vendored
62
.gitignore
vendored
@ -1,2 +1,62 @@
|
||||
SOURCES/pango-1.42.4.tar.xz
|
||||
pango-1.28.1.tar.bz2
|
||||
/pango-1.28.2.tar.bz2
|
||||
/pango-1.28.3.tar.bz2
|
||||
/pango-1.28.4.tar.bz2
|
||||
/pango-1.29.3.tar.xz
|
||||
/pango-1.29.4.tar.xz
|
||||
/pango-1.29.5.tar.xz
|
||||
/pango-1.30.0.tar.xz
|
||||
/pango-1.30.1.tar.xz
|
||||
/pango-1.31.0.tar.xz
|
||||
/pango-1.32.1.tar.xz
|
||||
/pango-1.32.2.tar.xz
|
||||
/pango-1.32.3.tar.xz
|
||||
/pango-1.32.5.tar.xz
|
||||
/pango-1.32.6.tar.xz
|
||||
/pango-1.33.7.tar.xz
|
||||
/pango-1.33.8.tar.xz
|
||||
/pango-1.33.9.tar.xz
|
||||
/pango-1.34.0.tar.xz
|
||||
/pango-1.34.1.tar.xz
|
||||
/pango-1.35.0.tar.xz
|
||||
/pango-1.35.2.tar.xz
|
||||
/pango-1.35.3.tar.xz
|
||||
/pango-1.36.0.tar.xz
|
||||
/pango-1.36.1.tar.xz
|
||||
/pango-1.36.2.tar.xz
|
||||
/pango-1.36.3.tar.xz
|
||||
/pango-1.36.4.tar.xz
|
||||
/pango-1.36.5.tar.xz
|
||||
/pango-1.36.6.tar.xz
|
||||
/pango-1.36.7.tar.xz
|
||||
/pango-1.36.8.tar.xz
|
||||
/pango-1.37.0.tar.xz
|
||||
/pango-1.37.1.tar.xz
|
||||
/pango-1.37.2.tar.xz
|
||||
/pango-1.37.3.tar.xz
|
||||
/pango-1.37.4.tar.xz
|
||||
/pango-1.37.5.tar.xz
|
||||
/pango-1.38.0.tar.xz
|
||||
/pango-1.38.1.tar.xz
|
||||
/pango-1.39.0.tar.xz
|
||||
/pango-1.40.0.tar.xz
|
||||
/pango-1.40.1.tar.xz
|
||||
/pango-1.40.2.tar.xz
|
||||
/pango-1.40.3.tar.xz
|
||||
/pango-1.40.4.tar.xz
|
||||
/pango-1.40.5.tar.xz
|
||||
/pango-1.40.6.tar.xz
|
||||
/pango-1.40.7.tar.xz
|
||||
/pango-1.40.8.tar.xz
|
||||
/pango-1.40.9.tar.xz
|
||||
/pango-1.40.10.tar.xz
|
||||
/pango-1.40.11.tar.xz
|
||||
/pango-1.40.12.tar.xz
|
||||
/pango-1.40.13.tar.xz
|
||||
/pango-1.40.14.tar.xz
|
||||
/pango-1.41.1.tar.xz
|
||||
/pango-1.42.0.tar.xz
|
||||
/pango-1.42.1.tar.xz
|
||||
/pango-1.42.2.tar.xz
|
||||
/pango-1.42.3.tar.xz
|
||||
/pango-1.42.4.tar.xz
|
||||
|
||||
3
tests/roles/gnome-desktop-testing-role/defaults/main.yml
Normal file
3
tests/roles/gnome-desktop-testing-role/defaults/main.yml
Normal file
@ -0,0 +1,3 @@
|
||||
role_pkgs_req:
|
||||
- rsync
|
||||
- xorg-x11-server-Xvfb
|
||||
4
tests/roles/gnome-desktop-testing-role/meta/main.yml
Normal file
4
tests/roles/gnome-desktop-testing-role/meta/main.yml
Normal file
@ -0,0 +1,4 @@
|
||||
---
|
||||
|
||||
dependencies:
|
||||
- role: str-common-init
|
||||
82
tests/roles/gnome-desktop-testing-role/tasks/main.yml
Normal file
82
tests/roles/gnome-desktop-testing-role/tasks/main.yml
Normal file
@ -0,0 +1,82 @@
|
||||
---
|
||||
- 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: |
|
||||
log="{{ remote_artifacts }}/test.log"
|
||||
if [ ! -f "$log" ]; then
|
||||
echo ERROR
|
||||
echo "Test results not found." 1>&2
|
||||
elif grep ^FAIL "$log" 1>&2; then
|
||||
echo FAIL
|
||||
elif grep -q ^PASS "$log"; then
|
||||
echo PASS
|
||||
else
|
||||
echo ERROR
|
||||
echo "No test results found." 1>&2
|
||||
fi
|
||||
register: test_results
|
||||
|
||||
- name: Set role result
|
||||
set_fact:
|
||||
role_result: "{{ test_results.stdout }}"
|
||||
role_message: "{{ test_results.stderr|d('test execution error.') }}"
|
||||
|
||||
- include_role:
|
||||
name: str-common-final
|
||||
|
||||
10
tests/tests.yml
Normal file
10
tests/tests.yml
Normal file
@ -0,0 +1,10 @@
|
||||
- hosts: localhost
|
||||
roles:
|
||||
- role: gnome-desktop-testing-role
|
||||
installed_test_name: pango
|
||||
tags:
|
||||
- classic
|
||||
- gating
|
||||
required_packages:
|
||||
- abattis-cantarell-fonts
|
||||
|
||||
Loading…
Reference in New Issue
Block a user