Compare commits
No commits in common. "c8" and "c8s" have entirely different histories.
|
@ -1 +0,0 @@
|
||||||
aa08a912bb560aa6def7b29d91ac6198a6b077f3 SOURCES/v1.0.6.tar.gz
|
|
|
@ -1 +1,2 @@
|
||||||
SOURCES/v1.0.6.tar.gz
|
/v*.tar.gz
|
||||||
|
*.src.rpm
|
||||||
|
|
|
@ -0,0 +1,6 @@
|
||||||
|
--- !Policy
|
||||||
|
product_versions:
|
||||||
|
- rhel-8
|
||||||
|
decision_context: osci_compose_gate
|
||||||
|
rules:
|
||||||
|
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}
|
|
@ -0,0 +1 @@
|
||||||
|
SHA512 (v1.0.6.tar.gz) = b9847375471de3ae815ef4bb45a29653c343fad0a891a79d5132fcdee34c85caafd82289c8b413c3ef609049f2e8c4af9f9abd1736a2408ba44544c5fefc0010
|
|
@ -0,0 +1,34 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# exit immediately if any command returns non-zero exit code
|
||||||
|
set -e
|
||||||
|
|
||||||
|
# print commands as they are executed by the shell interpreter
|
||||||
|
set -x
|
||||||
|
|
||||||
|
# list of upstream tests to run
|
||||||
|
CURL_TESTS="314 315 316"
|
||||||
|
|
||||||
|
# obtain source RPM of curl
|
||||||
|
SRPM_URL=$(yum repoquery -q --srpm curl --location)
|
||||||
|
SRPM=${SRPM_URL##*/}
|
||||||
|
curl -Lo "$SRPM" "$SRPM_URL"
|
||||||
|
|
||||||
|
# install build-time deps
|
||||||
|
yum -y builddep "$SRPM"
|
||||||
|
|
||||||
|
# extract source RPM
|
||||||
|
rpmdev-extract "$SRPM"
|
||||||
|
cd "${SRPM%.rpm}"
|
||||||
|
|
||||||
|
# local build of curl
|
||||||
|
rpmbuild --nodeps -bc curl.spec \
|
||||||
|
--define "_sourcedir $PWD" \
|
||||||
|
--define "_builddir $PWD"
|
||||||
|
|
||||||
|
# local build of upstream tests
|
||||||
|
cd curl-*/build-full/tests
|
||||||
|
make $(rpm --eval '%{_smp_mflags}')
|
||||||
|
|
||||||
|
# run selected upstream tests
|
||||||
|
srcdir=../../tests perl -I../../tests ../../tests/runtests.pl -a -p -v $CURL_TESTS
|
|
@ -0,0 +1,12 @@
|
||||||
|
- hosts: localhost
|
||||||
|
roles:
|
||||||
|
- role: standard-test-basic
|
||||||
|
tags:
|
||||||
|
- classic
|
||||||
|
tests:
|
||||||
|
- simple:
|
||||||
|
dir: .
|
||||||
|
run: ./test-brotli-with-curl.sh
|
||||||
|
required_packages:
|
||||||
|
- curl
|
||||||
|
- rpmdevtools
|
Loading…
Reference in New Issue