Fix findings from linters
This commit is contained in:
parent
f57eda058f
commit
d7b9dcdec0
3 changed files with 19 additions and 2 deletions
17
plans/upstream_tests.fmf
Normal file
17
plans/upstream_tests.fmf
Normal file
|
|
@ -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
|
||||
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -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 $(<subdir-tests_sum_files.txt); do
|
||||
rlAssertGrep '^PASS: stdlib/tst-makecontext$' $i || rlFileSubmit $i $i
|
||||
rlAssertGrep '^PASS: stdlib/tst-makecontext$' "$i" || rlFileSubmit "$i" "$i"
|
||||
done
|
||||
fi
|
||||
rlPhaseEnd
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue