pcsc-lite/tests/runtest.sh

16 lines
527 B
Bash
Raw Permalink Normal View History

#!/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