Disable tests for i686 architecture

This commit is contained in:
eabdullin 2026-02-10 15:20:47 +03:00
commit d083fb515c

33
config.yaml Normal file
View File

@ -0,0 +1,33 @@
actions:
- replace:
- target: "spec"
find: |
%global build_tests 1
replace: |
%ifnarch i686
%global build_tests 1
%endif
count: 1
- target: "spec"
find: |
# Remove tests with space in its name, which seem to break debuginfo extraction
rm -r %{buildroot}%{_qt6_archdatadir}/tests/corelib/io/qprocess/testProcessSpacesArgs/*
rm -r "%{buildroot}%{_qt6_archdatadir}/tests/corelib/io/qprocess/test Space In Name/testSpaceInName"
replace: |
%if 0%{?build_tests}
# Remove tests with space in its name, which seem to break debuginfo extraction
rm -r %{buildroot}%{_qt6_archdatadir}/tests/corelib/io/qprocess/testProcessSpacesArgs/*
rm -r "%{buildroot}%{_qt6_archdatadir}/tests/corelib/io/qprocess/test Space In Name/testSpaceInName"
%endif
count: 1
- modify_release:
- suffix: ".alma.1"
enabled: true
- changelog_entry:
- name: "Eduard Abdullin"
email: "eabdullin@almalinux.org"
line:
- "Disable tests for i686 architecture"