re-import sources as agreed with the maintainer
This commit is contained in:
parent
33d5a50b37
commit
dad41d5eca
15
tests/runtest.sh
Executable file
15
tests/runtest.sh
Executable file
@ -0,0 +1,15 @@
|
||||
#!/bin/bash -x
|
||||
|
||||
export GIT_SSL_NO_VERIFY=true
|
||||
git clone https://gitlab.cee.redhat.com/idm/smartcards.git
|
||||
cd smartcards/gating/opensc
|
||||
./setup_opensc_gating.sh
|
||||
|
||||
pytest-3 -v --junit-xml=/tmp/artifacts/junit.xml \
|
||||
--log-cli-level=INFO \
|
||||
--log-cli-format="[%(name)s] %(levelname)s %(message)s" \
|
||||
--log-file=/tmp/artifacts/pytest-run.log \
|
||||
--log-file-level=DEBUG \
|
||||
--log-file-format="%(asctime)s [%(name)s] %(levelname)s %(message)s" \
|
||||
--log-file-date-format="%Y-%m-%dT%H:%M:%S%z" \
|
||||
test_opensc_sanity.py
|
13
tests/tests.yml
Normal file
13
tests/tests.yml
Normal file
@ -0,0 +1,13 @@
|
||||
- hosts: localhost
|
||||
roles:
|
||||
- role: standard-test-basic
|
||||
tags:
|
||||
- classic
|
||||
tests:
|
||||
- opensc:
|
||||
dir: .
|
||||
run: ./runtest.sh
|
||||
required_packages:
|
||||
- git
|
||||
- python3-pytest
|
||||
- python3-pexpect
|
Loading…
Reference in New Issue
Block a user