From d7b9dcdec0b09f7a1cf18ecf5e31a5c5efa9cd46 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=A1clav=20Kadl=C4=8D=C3=ADk?= Date: Tue, 18 Mar 2025 13:26:04 +0100 Subject: [PATCH] Fix findings from linters --- plans/upstream_tests.fmf | 17 +++++++++++++++++ .../runtest.sh | 2 +- tests/Sanity/rebuild-glibc/runtest.sh | 2 +- 3 files changed, 19 insertions(+), 2 deletions(-) create mode 100644 plans/upstream_tests.fmf diff --git a/plans/upstream_tests.fmf b/plans/upstream_tests.fmf new file mode 100644 index 0000000..847618b --- /dev/null +++ b/plans/upstream_tests.fmf @@ -0,0 +1,17 @@ +summary: CI Gating Plan +discover: + how: fmf + test: + - /tests/Sanity/suite_gfortran + - /tests/Sanity/suite_jit + - /tests/Sanity/suite_libatomic + - /tests/Sanity/suite_libgomp + - /tests/Sanity/suite_libitm +execute: + how: tmt +adjust: + prepare+: + - name: Add secondary architecture RPMs + how: shell + script: ./plans/provide_secondary_arch_rpms.sh + when: distro == fedora and arch == x86_64 diff --git a/tests/Regression/bz1519073-linking-shared-objects-hidden-_ZNSt12__sso_stringC1EPKcm-not-defined/runtest.sh b/tests/Regression/bz1519073-linking-shared-objects-hidden-_ZNSt12__sso_stringC1EPKcm-not-defined/runtest.sh index 04c4a14..11661a9 100755 --- a/tests/Regression/bz1519073-linking-shared-objects-hidden-_ZNSt12__sso_stringC1EPKcm-not-defined/runtest.sh +++ b/tests/Regression/bz1519073-linking-shared-objects-hidden-_ZNSt12__sso_stringC1EPKcm-not-defined/runtest.sh @@ -45,7 +45,7 @@ rlJournalStart rlLogInfo "Standards to be tested: $stds" # detect linkers to test (bfd and gold if available) - # shellcheck disable=SC2046 + # shellcheck disable=SC2046 disable=SC2012 linkers="$(ls $(type -P ld).* /usr/bin/ld.* | cut -d. -f2 | sort -u | grep -v ^so$)" if [[ -z "$linkers" ]]; then rlFail "Linkers not detected" diff --git a/tests/Sanity/rebuild-glibc/runtest.sh b/tests/Sanity/rebuild-glibc/runtest.sh index f59b43c..64a3248 100755 --- a/tests/Sanity/rebuild-glibc/runtest.sh +++ b/tests/Sanity/rebuild-glibc/runtest.sh @@ -144,7 +144,7 @@ rlJournalStart rlRun 'find ~/rpmbuild/BUILD/ -name subdir-tests.sum | grep "/stdlib/subdir-tests\.sum$" >subdir-tests_sum_files.txt' 0,1 rlAssertDiffer subdir-tests_sum_files.txt /dev/null for i in $(