Compare commits
No commits in common. "c8-beta" and "c8s" have entirely different histories.
@ -1,2 +0,0 @@
|
||||
078a76d760ba649991b0ac0ae2eaeda41c00ca5b SOURCES/dbus-python-1.2.4.tar.gz
|
||||
6eb8de9fa495dbeee92f9327fcb64859f7b10044 SOURCES/dbus-python-1.2.4.tar.gz.asc
|
10
.gitignore
vendored
10
.gitignore
vendored
@ -1,2 +1,8 @@
|
||||
SOURCES/dbus-python-1.2.4.tar.gz
|
||||
SOURCES/dbus-python-1.2.4.tar.gz.asc
|
||||
/dbus-python-0.83.0.tar.gz
|
||||
/dbus-python-1.1.1.tar.gz
|
||||
/dbus-python-1.2.0.tar.gz
|
||||
/dbus-python-1.2.0.tar.gz.asc
|
||||
/dbus-python-1.2.2.tar.gz
|
||||
/dbus-python-1.2.2.tar.gz.asc
|
||||
/dbus-python-1.2.4.tar.gz
|
||||
/dbus-python-1.2.4.tar.gz.asc
|
||||
|
6
gating.yaml
Normal file
6
gating.yaml
Normal file
@ -0,0 +1,6 @@
|
||||
--- !Policy
|
||||
product_versions:
|
||||
- rhel-8
|
||||
decision_context: osci_compose_gate
|
||||
rules:
|
||||
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}
|
2
sources
Normal file
2
sources
Normal file
@ -0,0 +1,2 @@
|
||||
SHA512 (dbus-python-1.2.4.tar.gz) = efdd9d96a8b56e813c93208d34777f1ca2db96c076d31f13afbcaec3c7770a16a623d5531fe23443130c555240949802503f171f2064d45eee97546d6251304b
|
||||
SHA512 (dbus-python-1.2.4.tar.gz.asc) = 9eed51488cfbc1e7b8622647c1a4a0da2e4dd4459cd75d00e9b912aa6bd6cbc64e1d188df0b2c54c8c80ace5c5560d0e9368719ef40d43344d6a00cb7a92b95d
|
15
tests/tests.yml
Normal file
15
tests/tests.yml
Normal file
@ -0,0 +1,15 @@
|
||||
---
|
||||
# This first play always runs on the local staging system
|
||||
- hosts: localhost
|
||||
roles:
|
||||
- role: standard-test-basic
|
||||
tags:
|
||||
- classic
|
||||
tests:
|
||||
- upstream-testset
|
||||
required_packages:
|
||||
- python3-dbus
|
||||
- rpm-build
|
||||
- gcc
|
||||
- wget
|
||||
- make
|
55
tests/upstream-testset/runtest.sh
Executable file
55
tests/upstream-testset/runtest.sh
Executable file
@ -0,0 +1,55 @@
|
||||
#!/bin/bash -x
|
||||
|
||||
# Copyright (c) 2015 Red Hat, Inc. All rights reserved. This copyrighted material
|
||||
# is made available to anyone wishing to use, modify, copy, or
|
||||
# redistribute it subject to the terms and conditions of the GNU General
|
||||
# Public License v.2.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful, but WITHOUT ANY
|
||||
# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
# PARTICULAR PURPOSE. See the GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program; if not, write to the Free Software
|
||||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
#
|
||||
# Author: Vladimir Benes <vbenes@redhat.com>
|
||||
|
||||
PKG=dbus-python
|
||||
PKG_DIR=$2
|
||||
if [ -z "$PKG_DIR" ]; then
|
||||
PKG_DIR=$1
|
||||
fi
|
||||
|
||||
RPMBUILD=$(rpm --eval '%{_topdir}')
|
||||
LOG="/tmp/$TEST.log"
|
||||
PKG_SRPM=$(rpm -q --qf '%{SOURCERPM}\n' python3-dbus | head -n1)
|
||||
PKG_PATH=$(rpm -q --qf '%{VERSION}/%{RELEASE}\n' python3-dbus | head -n1)
|
||||
PKG_BUILD_PATH=$(rpm -q --qf "$PKG_DIR-%{VERSION}\n" $PKG | head -n1)
|
||||
|
||||
echo "Downloading SRPM"
|
||||
wget https://kojipkgs.fedoraproject.org/packages/$PKG/$PKG_PATH/src/$PKG_SRPM
|
||||
rm -rf $RPMBUILD
|
||||
rpm -ivf $PKG_SRPM
|
||||
echo "Building dependencies"
|
||||
dnf builddep -y $PKG_SRPM
|
||||
echo "Rebuilding the package"
|
||||
rpmbuild -bc $RPMBUILD/SPECS/$PKG.spec
|
||||
echo "Running make check"
|
||||
cd $RPMBUILD/BUILD/$PKG*
|
||||
./configure
|
||||
make check | tee -a $LOG
|
||||
rc=$?
|
||||
RESULT=FAIL
|
||||
|
||||
if [ $rc -eq 0 ]; then
|
||||
RESULT="PASS"
|
||||
fi
|
||||
|
||||
if which rhts-report-result &> /dev/null; then
|
||||
rhts-report-result $TEST $RESULT $LOG
|
||||
fi
|
||||
|
||||
exit $rc
|
||||
echo "Result is: $RESULT"
|
||||
rm $LOG
|
Loading…
Reference in New Issue
Block a user