Add gating.yaml and unittest for python-gssapi
Signed-off-by: Francisco Trivino <ftrivino@redhat.com>
This commit is contained in:
parent
0780e196a2
commit
343eaaa3bd
6
gating.yaml
Normal file
6
gating.yaml
Normal file
@ -0,0 +1,6 @@
|
||||
--- !Policy
|
||||
product_versions:
|
||||
- rhel-10
|
||||
decision_context: osci_compose_gate
|
||||
rules:
|
||||
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}
|
12
tests/driver/runtest.sh
Normal file
12
tests/driver/runtest.sh
Normal file
@ -0,0 +1,12 @@
|
||||
#!/bin/bash -ex
|
||||
|
||||
# Fake a build
|
||||
rm -rf gssapi
|
||||
cp -r /usr/lib64/python3.12/site-packages/gssapi gssapi
|
||||
cd gssapi
|
||||
|
||||
# Do something awful
|
||||
pip3 install pynose parameterized shouldbe k5test
|
||||
|
||||
# And run the tests
|
||||
exec python3 -c 'import nose; exit(nose.main())'
|
25
tests/tests.yml
Normal file
25
tests/tests.yml
Normal file
@ -0,0 +1,25 @@
|
||||
---
|
||||
- hosts: localhost
|
||||
tags: classic
|
||||
|
||||
- hosts: localhost
|
||||
roles:
|
||||
- role: standard-test-source
|
||||
tags:
|
||||
- always
|
||||
required_packages:
|
||||
- git
|
||||
- role: standard-test-basic
|
||||
tags:
|
||||
- atomic
|
||||
- classic
|
||||
required_packages:
|
||||
- krb5-server
|
||||
- krb5-workstation
|
||||
- krb5-devel
|
||||
- python3-gssapi
|
||||
- python3-devel
|
||||
- rpm-build
|
||||
- gcc
|
||||
tests:
|
||||
- driver
|
Loading…
Reference in New Issue
Block a user