Compare commits
4 commits
rawhide_sm
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
016433b079 |
||
|
|
fed7239f8f | ||
|
|
eef550c096 | ||
|
|
f4dd6b4dee |
2 changed files with 9 additions and 8 deletions
|
|
@ -45,7 +45,3 @@ tier: '1'
|
||||||
extra-summary: /CoreOS/openscap/Sanity/smoke-test
|
extra-summary: /CoreOS/openscap/Sanity/smoke-test
|
||||||
extra-task: /CoreOS/openscap/Sanity/smoke-test
|
extra-task: /CoreOS/openscap/Sanity/smoke-test
|
||||||
extra-nitrate: TC#0075476
|
extra-nitrate: TC#0075476
|
||||||
adjust:
|
|
||||||
- enabled: false
|
|
||||||
when: distro < rhel-5
|
|
||||||
continue: false
|
|
||||||
|
|
|
||||||
|
|
@ -55,14 +55,19 @@ rlJournalStart
|
||||||
rlFileBackup "/etc/yum.repos.d/"
|
rlFileBackup "/etc/yum.repos.d/"
|
||||||
CleanupRegister "rlFileRestore"
|
CleanupRegister "rlFileRestore"
|
||||||
# we have to enable buildroot repo
|
# we have to enable buildroot repo
|
||||||
rlRun "dnf config-manager --set-enabled rhel-buildroot{,-debuginfo,-source}" 0-255
|
rlRun "dnf config-manager --set-enabled rhel-buildroot" 0-255
|
||||||
# Some packages needed to build openscap moved from rhel-buildroot to rhel-CRB
|
# Some packages needed to build openscap moved from rhel-buildroot to rhel-CRB
|
||||||
rlRun "dnf config-manager --set-enabled rhel-CRB{,-debuginfo,-source}" 0-255
|
rlRun "dnf config-manager --set-enabled rhel-CRB" 0-255
|
||||||
rlRun "dnf config-manager --set-enabled beaker-CRB{,-debuginfo,-source}" 0-255
|
rlRun "dnf config-manager --set-enabled beaker-CRB" 0-255
|
||||||
# AppStream source repo is not enabled by default
|
# AppStream source repo is not enabled by default
|
||||||
rlRun "dnf config-manager --set-enabled beaker-AppStream-source" 0-255
|
rlRun "dnf config-manager --set-enabled beaker-AppStream-source" 0-255
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# in RHEL10, pytest is in CRB which is not enabled during tmt preparation phase
|
||||||
|
if rlIsRHEL ">=10"; then
|
||||||
|
rlRun "dnf install -y python3-pytest"
|
||||||
|
fi
|
||||||
|
|
||||||
rlFetchSrcForInstalled $PACKAGE
|
rlFetchSrcForInstalled $PACKAGE
|
||||||
if rlIsRHEL "<=7"; then
|
if rlIsRHEL "<=7"; then
|
||||||
rlRun "yum-builddep -y $PACKAGE*"
|
rlRun "yum-builddep -y $PACKAGE*"
|
||||||
|
|
@ -116,7 +121,7 @@ rlJournalStart
|
||||||
rlRun -s "make -C $(readlink -f ${TOPDIR}/BUILD/${PACKAGE}*) check"
|
rlRun -s "make -C $(readlink -f ${TOPDIR}/BUILD/${PACKAGE}*) check"
|
||||||
rv=$?
|
rv=$?
|
||||||
else
|
else
|
||||||
rlRun -s "cmake --build $BUILD_DIR_PATH --target test -- ARGS='--output-on-failure'"
|
rlRun -s "ctest --test-dir $BUILD_DIR_PATH --output-on-failure"
|
||||||
rv=$?
|
rv=$?
|
||||||
# cmake output does not contain enough information, submit verbose output log
|
# cmake output does not contain enough information, submit verbose output log
|
||||||
FILE="${BUILD_DIR_PATH}/Testing/Temporary/LastTest.log"
|
FILE="${BUILD_DIR_PATH}/Testing/Temporary/LastTest.log"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue