diff --git a/.gitignore b/.gitignore index 8e9a098..bd93c27 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,10 @@ +/v1.1.0.tar.gz +/python-gssapi-1.1.1.tar.gz +/python-gssapi-1.1.2.tar.gz +/python-gssapi-1.1.3.tar.gz +/python-gssapi-1.1.4.tar.gz +/python-gssapi-1.2.0.tar.gz +/python-gssapi-1.3.0.tar.gz +/python-gssapi-1.4.1.tar.gz +/python-gssapi-1.5.0.tar.gz /python-gssapi-1.5.1.tar.gz diff --git a/tests/driver/runtest.sh b/tests/driver/runtest.sh new file mode 100755 index 0000000..5b144d0 --- /dev/null +++ b/tests/driver/runtest.sh @@ -0,0 +1,12 @@ +#!/bin/bash -ex + +# Fake a build +rm -rf gssapi +cp -r /usr/lib64/python3.6/site-packages/gssapi gssapi +cd gssapi + +# Do something awful +pip3 install nose{,-parameterized} shouldbe k5test + +# And run the tests +exec python3 -c 'import nose; exit(nose.main())' diff --git a/tests/tests.yml b/tests/tests.yml new file mode 100644 index 0000000..3c1aff3 --- /dev/null +++ b/tests/tests.yml @@ -0,0 +1,30 @@ +--- +- hosts: localhost + tags: classic + tasks: + - name: Brew a warm one + shell: dnf config-manager --add-repo 'http://download.eng.bos.redhat.com/brewroot/repos/rhel-8.1.0-build/latest/x86_64/' + args: + warn: false + +- 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