Debian Codegraph @

debian/tests/upstream-tests

raw symbols SCIP
1 #!/bin/bash
2
3 set -e -u
4
5 mkdir -p "${AUTOPKGTEST_TMP}"/griffecli
6 mkdir -p "${AUTOPKGTEST_TMP}"/griffelib
7
8 cp -a docs "${AUTOPKGTEST_TMP}"
9 cp -a packages/griffecli/tests "${AUTOPKGTEST_TMP}"/griffecli
10 cp -a packages/griffelib/tests "${AUTOPKGTEST_TMP}"/griffelib
11
12 for py3vers in $(py3versions -s); do
13 echo
14 echo "***************************"
15 echo "*** Testing with ${py3vers}"
16 echo "***************************"
17 echo
18 cd ${AUTOPKGTEST_TMP} && \
19 echo "Content of current working folder:\n" && \
20 ls -la && \
21 echo "Running tests...\n" && \
22 for GRIFFE_PACKAGE in griffecli griffelib ; do \
23 cd ${AUTOPKGTEST_TMP}/${GRIFFE_PACKAGE} && \
24 PYTHONPATH=. ${py3vers} -m pytest -sv \
25 --ignore tests/test_api.py \
26 -k "not test_load_git \
27 and not test_load_git_errors \
28 and not test_meson_python_file_handling" tests && \
29 rm -rf .pytest_cache || exit 1
30 done
31 done
32
33 echo
34
35 exit 0