Polish tests even more
This commit is contained in:
parent
6eeb9ad9fc
commit
78b3a9a6da
4 changed files with 17 additions and 7 deletions
|
|
@ -120,7 +120,8 @@ adjust+:
|
|||
require+:
|
||||
- binutils
|
||||
- binutils-devel
|
||||
- binutils-gold
|
||||
# No binutils-gold for RHEL-8 system binutils
|
||||
# - binutils-gold
|
||||
- gcc
|
||||
- gcc-c++
|
||||
- annobin
|
||||
|
|
@ -299,6 +300,7 @@ adjust+:
|
|||
- binutils
|
||||
- binutils-devel
|
||||
- binutils-gold
|
||||
- binutils-gprofng
|
||||
- gcc
|
||||
- gcc-c++
|
||||
- annobin-plugin-gcc
|
||||
|
|
@ -314,6 +316,7 @@ adjust+:
|
|||
- binutils
|
||||
- binutils-devel
|
||||
- binutils-gold
|
||||
- binutils-gprofng
|
||||
- gcc
|
||||
- gcc-c++
|
||||
- annobin-plugin-gcc
|
||||
|
|
@ -329,6 +332,7 @@ adjust+:
|
|||
- binutils
|
||||
- binutils-devel
|
||||
- binutils-gold
|
||||
- binutils-gprofng
|
||||
- gcc
|
||||
- gcc-c++
|
||||
- annobin-plugin-gcc
|
||||
|
|
|
|||
|
|
@ -65,3 +65,9 @@ adjust+:
|
|||
test: "$WITH_SCL ./test-with-cross.sh"
|
||||
environment+:
|
||||
MAY_BUILD_OTHER_ARCHES: "no"
|
||||
|
||||
- because: "On Fedora 38 and newer, system binutils build extra binaries for cross compilation"
|
||||
when: distro == fedora-38
|
||||
test: "$WITH_SCL ./test-with-cross.sh"
|
||||
environment+:
|
||||
MAY_BUILD_OTHER_ARCHES: "no"
|
||||
|
|
|
|||
|
|
@ -97,9 +97,9 @@ rlJournalStart
|
|||
rlRun "awk \"/=== $TOOL tests ===/,/=== $TOOL Summary ===/\" $tool_log.sum > $tool_log.tests" 0,1 "Save results of all tests"
|
||||
rlRun "grep -E '^FAIL: ' $tool_log.tests | sort > $tool_log.failed" 0,1 "Save failures"
|
||||
|
||||
rlRun "grep '# of unexpected failures' $tool_log.sum" 0,1 "Checking number of unexpected failures"
|
||||
rlLogInfo "$(sort < "$tool_log.failed")"
|
||||
rlLogInfo "$(grep -E '^[A-Z]+:' "$tool_log.tests" | sort)"
|
||||
rlRun "grep '# of unexpected failures' $tool_log.sum" 1 "Checking number of unexpected failures"
|
||||
rlLogInfo "Failed tests:\n$(sort < "$tool_log.failed")"
|
||||
rlLogInfo "All tests:\n$(grep -E '^[A-Z]+:' "$tool_log.tests" | sort)"
|
||||
rlPhaseEnd
|
||||
done
|
||||
done
|
||||
|
|
|
|||
|
|
@ -71,9 +71,9 @@ rlJournalStart
|
|||
rlRun "awk \"/=== $TOOL tests ===/,/=== $TOOL Summary ===/\" $tool_log.sum > $tool_log.tests" 0,1 "Save results of all tests"
|
||||
rlRun "grep -E '^FAIL: ' $tool_log.tests | sort > $tool_log.failed" 0,1 "Save failures"
|
||||
|
||||
rlRun "grep '# of unexpected failures' $tool_log.sum" 0,1 "Checking number of unexpected failures"
|
||||
rlLogInfo "$(sort < "$tool_log.failed")"
|
||||
rlLogInfo "$(grep -E '^[A-Z]+:' "$tool_log.tests" | sort)"
|
||||
rlRun "grep '# of unexpected failures' $tool_log.sum" 1 "Checking number of unexpected failures"
|
||||
rlLogInfo "Failed tests:\n$(sort < "$tool_log.failed")"
|
||||
rlLogInfo "All tests:\n$(grep -E '^[A-Z]+:' "$tool_log.tests" | sort)"
|
||||
rlPhaseEnd
|
||||
done
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue