Log package versions in CI tests
This commit is contained in:
parent
394bd0083f
commit
a9f3f30da4
@ -32,6 +32,7 @@ PACKAGE="annobin"
|
|||||||
|
|
||||||
rlJournalStart
|
rlJournalStart
|
||||||
rlPhaseStartTest
|
rlPhaseStartTest
|
||||||
|
rlRun "rpm -qa | fgrep -e redhat-rpm-config -e gcc -e annobin -e binutils | sort"
|
||||||
rlRun "tool_v=$(annocheck --version | awk '/^annocheck: Version/ {print $3}')"
|
rlRun "tool_v=$(annocheck --version | awk '/^annocheck: Version/ {print $3}')"
|
||||||
rlRun "__RPM=$(rpm --queryformat='%{name}\n' -qf $(man -w annobin))"
|
rlRun "__RPM=$(rpm --queryformat='%{name}\n' -qf $(man -w annobin))"
|
||||||
rlRun "rpm_v=$(rpm -q --queryformat='%{version}\n' $__RPM)"
|
rlRun "rpm_v=$(rpm -q --queryformat='%{version}\n' $__RPM)"
|
||||||
|
@ -33,7 +33,7 @@ PACKAGE="annobin"
|
|||||||
rlJournalStart
|
rlJournalStart
|
||||||
rlPhaseStartTest
|
rlPhaseStartTest
|
||||||
b=`mktemp`
|
b=`mktemp`
|
||||||
rlRun "rpm -q redhat-rpm-config"
|
rlRun "rpm -qa | fgrep -e redhat-rpm-config -e gcc -e annobin -e binutils | sort"
|
||||||
rlRun "cflags=\"$(rpm --eval '%build_cflags')\""
|
rlRun "cflags=\"$(rpm --eval '%build_cflags')\""
|
||||||
rlRun "ldflags=\"$(rpm --eval '%build_ldflags')\""
|
rlRun "ldflags=\"$(rpm --eval '%build_ldflags')\""
|
||||||
rlRun "echo 'int main (void) { return 0; }' | gcc -xc -o $b $cflags $ldflags -flto - "
|
rlRun "echo 'int main (void) { return 0; }' | gcc -xc -o $b $cflags $ldflags -flto - "
|
||||||
|
@ -42,6 +42,8 @@ rlJournalStart
|
|||||||
rlLogInfo "X_SCLS=$X_SCLS"
|
rlLogInfo "X_SCLS=$X_SCLS"
|
||||||
rlLogInfo "GCC=$GCC"
|
rlLogInfo "GCC=$GCC"
|
||||||
|
|
||||||
|
rlRun "rpm -qa | fgrep -e redhat-rpm-config -e gcc -e annobin -e binutils | sort"
|
||||||
|
|
||||||
# In case more than one devtoolset- or gcc-toolset -build package is
|
# In case more than one devtoolset- or gcc-toolset -build package is
|
||||||
# installed (they can co-exist from the packaging persp, but their
|
# installed (they can co-exist from the packaging persp, but their
|
||||||
# coexistence causes unexpected results with rpm macros), then we have
|
# coexistence causes unexpected results with rpm macros), then we have
|
||||||
|
@ -16,6 +16,8 @@ set +x
|
|||||||
|
|
||||||
rlJournalStart
|
rlJournalStart
|
||||||
rlPhaseStartTest
|
rlPhaseStartTest
|
||||||
|
rlRun "rpm -qa | fgrep -e redhat-rpm-config -e gcc -e annobin -e binutils | sort"
|
||||||
|
|
||||||
rlRun "test \"$default_cflags\" = \"$cflags\""
|
rlRun "test \"$default_cflags\" = \"$cflags\""
|
||||||
rlRun "test \"$default_cxxflags\" = \"$cxxflags\""
|
rlRun "test \"$default_cxxflags\" = \"$cxxflags\""
|
||||||
rlRun "test \"$default_ldflags\" = \"$ldflags\""
|
rlRun "test \"$default_ldflags\" = \"$ldflags\""
|
||||||
|
@ -38,6 +38,7 @@ rlJournalStart
|
|||||||
rlPhaseEnd
|
rlPhaseEnd
|
||||||
|
|
||||||
rlPhaseStartTest
|
rlPhaseStartTest
|
||||||
|
rlRun "rpm -qa | fgrep -e redhat-rpm-config -e gcc -e annobin -e binutils | sort"
|
||||||
rlRun "echo 'int main() {return 0;}' | gcc -xc -fplugin=annobin -o /dev/null -"
|
rlRun "echo 'int main() {return 0;}' | gcc -xc -fplugin=annobin -o /dev/null -"
|
||||||
rlPhaseEnd
|
rlPhaseEnd
|
||||||
rlJournalPrintText
|
rlJournalPrintText
|
||||||
|
Loading…
Reference in New Issue
Block a user