CI Tests: Make sure the right binary gets tested

This commit is contained in:
Martin Cermak 2024-07-26 12:14:22 +02:00
parent dcf7557c1c
commit b4b795697e
6 changed files with 17 additions and 1 deletions

View File

@ -1,6 +1,7 @@
summary: CI Gating Plan
discover:
how: fmf
directory: tests
execute:
how: tmt
environment+:
EXTRA_PATH: /opt/rh/make441/bin

View File

@ -28,6 +28,9 @@
# Include Beaker environment
. /usr/share/beakerlib/beakerlib.sh || exit 1
# If EXTRA_PATH is set, prepend it to PATH
export PATH=${EXTRA_PATH:+$EXTRA_PATH:}$PATH
CMD="make"
PACKAGE="make"
BIN="$(which $CMD)"

View File

@ -29,6 +29,9 @@
# Include Beaker environment
. /usr/share/beakerlib/beakerlib.sh || exit 1
# If EXTRA_PATH is set, prepend it to PATH
export PATH=${EXTRA_PATH:+$EXTRA_PATH:}$PATH
CMD="make"
BIN="$(which $CMD)"
PACKAGE="make"

View File

@ -28,6 +28,9 @@
# Include Beaker environment
. /usr/share/beakerlib/beakerlib.sh || exit 1
# If EXTRA_PATH is set, prepend it to PATH
export PATH=${EXTRA_PATH:+$EXTRA_PATH:}$PATH
CMD="make"
BIN="$(which $CMD)"
PACKAGE="make"

View File

@ -28,6 +28,9 @@
# Include Beaker environment
. /usr/share/beakerlib/beakerlib.sh || exit 1
# If EXTRA_PATH is set, prepend it to PATH
export PATH=${EXTRA_PATH:+$EXTRA_PATH:}$PATH
CMD="make"
BIN="$(which $CMD)"
PACKAGE="make"

View File

@ -28,6 +28,9 @@
# Include Beaker environment
. /usr/share/beakerlib/beakerlib.sh || exit 1
# If EXTRA_PATH is set, prepend it to PATH
export PATH=${EXTRA_PATH:+$EXTRA_PATH:}$PATH
MAKE="$(which --skip-alias make)"
PACKAGE="make"
export PACKAGE="${PACKAGE:-$(rpm -qf --qf='%{name}\n' $MAKE)}"