Compare commits

...

No commits in common. "c8" and "c8s" have entirely different histories.
c8 ... c8s

6 changed files with 29 additions and 2 deletions

View File

@ -1 +0,0 @@
2fc228c9cca2969f7261ad88007b3b9ae2c40243 SOURCES/haddock-library-1.4.3.tar.gz

5
.gitignore vendored
View File

@ -1 +1,4 @@
SOURCES/haddock-library-1.4.3.tar.gz
/haddock-library-1.1.1.tar.gz
/haddock-library-1.2.1.tar.gz
/haddock-library-1.4.2.tar.gz
/haddock-library-1.4.3.tar.gz

6
gating.yaml Normal file
View 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}

1
sources Normal file
View File

@ -0,0 +1 @@
SHA512 (haddock-library-1.4.3.tar.gz) = 33cd93c76f005567c88d913ce80fd3f0f3af0227bf3e2986eb59f9ec25168c6dc4dcff54a876c7148c20cb25e072c7d920245609cc7384dc22e1cc0b502c61c9

18
tests/tests.yml Normal file
View File

@ -0,0 +1,18 @@
---
- hosts: localhost
tags:
- classic
roles:
- role: standard-test-basic
vars:
- pkg: "{{playbook_dir|dirname|basename}}"
- develpkg: "{{pkg}}-devel"
- pkgname: "{{pkg|regex_replace('^ghc-(.*)$', '\\1')}}"
required_packages:
- "{{develpkg}}"
tests:
- ghc:
run: echo 'main = return ()' > test.hs; ghc -package {{pkgname}} test.hs; ./test
- revdeps:
run: revdeps=$(dnf -q repoquery --qf "%{name}" --whatrequires={{develpkg}}); if [ -z "${revdeps}" ]; then echo "No valid dependents"; exit 1; else dnf -y install ${revdeps}; fi
...