Compare commits
No commits in common. "main" and "rawhide_smoke" have entirely different histories.
main
...
rawhide_sm
2 changed files with 8 additions and 9 deletions
|
|
@ -45,3 +45,7 @@ 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,19 +55,14 @@ 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" 0-255
|
rlRun "dnf config-manager --set-enabled rhel-buildroot{,-debuginfo,-source}" 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" 0-255
|
rlRun "dnf config-manager --set-enabled rhel-CRB{,-debuginfo,-source}" 0-255
|
||||||
rlRun "dnf config-manager --set-enabled beaker-CRB" 0-255
|
rlRun "dnf config-manager --set-enabled beaker-CRB{,-debuginfo,-source}" 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*"
|
||||||
|
|
@ -121,7 +116,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 "ctest --test-dir $BUILD_DIR_PATH --output-on-failure"
|
rlRun -s "cmake --build $BUILD_DIR_PATH --target test -- ARGS='--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