Commit d7be8ae replace yum-utils dependency with dnf-utils

2 files Authored and Committed by mgahagan 10 months ago
replace yum-utils dependency with dnf-utils
run only in classic mode
replace internal build repo with koji for dbus-unit-tests
add dbus-unit-tests to playbook

    
 1 @@ -5,7 +5,6 @@
 2     - role: standard-test-basic
 3       tags:
 4       - classic
 5 -       #- container
 6       tests:
 7       # upstream tests
 8       - dbus-test-corrupt.test:
 9 @@ -102,6 +101,9 @@
10       - machine-id:
11           dir: tests/machine-id
12           run: ./runtest.sh
13 +     - dbus-unit-tests:
14 +         dir: tests/dbus-unit-tests
15 +         run: ./runtest.sh
16       # tests using dbus-python-client
17       - testGObject:
18           dir: tests/dbus-python-client
19 @@ -205,7 +207,7 @@
20       - dbus-glib-devel
21       - dbus-devel
22       - gnome-desktop-testing
23 -     - yum-utils
24 +     - dnf-utils
25       - dogtail
26       - libgsystem 
27   
 1 @@ -17,7 +17,7 @@
 2       DBUS_PACKAGE="dbus"
 3       DBUS_PACKAGE_SRPM=$(rpm -q --qf '%{SOURCERPM}\n' $DBUS_PACKAGE | head -n1)
 4       PACKAGE_PATH=$(rpm -q --qf '%{NAME}/%{VERSION}/%{RELEASE}\n' $DBUS_PACKAGE | head -n1)
 5 -     RPM_URL="http://download.lab.bos.redhat.com/brewroot/packages"
 6 +     RPM_URL="https://kojipkgs.fedoraproject.org/packages"
 7   
 8       [ -d "$HOME/rpmbuild" ] || rpmdev-setuptree
 9       cd $HOME/rpmbuild
10 @@ -37,8 +37,8 @@
11   
12   }
13   
14 - yum groupinstall -y "Platform Development"
15 - yum install -y rpmdevtools
16 + dnf groupinstall -y "Platform Development"
17 + dnf install -y rpmdevtools
18   echo "*** Running install_deps()"
19   install_deps
20   RETVAL=$?
21 @@ -49,7 +49,7 @@
22   fi
23   
24   echo "*** Running the testsuite!"
25 - su -c "${CURDIR}/test.sh ${DBUS_PACKAGE_SRPM} ${LOGFILE}" test
26 + su -c "bash ${CURDIR}/test.sh ${DBUS_PACKAGE_SRPM} ${LOGFILE}" test
27   RETVAL=$?
28   
29   pkill -u test -f dbus-daemon
30 @@ -60,6 +60,5 @@
31     RESULT="PASS"
32   fi
33   
34 - rhts-report-result $TEST $RESULT "$LOGFILE"
35   
36   exit $RETVAL