File: smoke

package info (click to toggle)
python-yamlfix 1.17.0-4
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 1,892 kB
  • sloc: python: 1,757; makefile: 171; sh: 13
file content (16 lines) | stat: -rw-r--r-- 418 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#! /bin/bash

cp -r tests ${AUTOPKGTEST_TMP}

for py3vers in $(py3versions -s); do
    echo
    echo "***************************"
    echo "*** Testing with ${py3vers}"
    echo "***************************"
    echo
    cd ${AUTOPKGTEST_TMP} && \
        echo -e "Content of current working folder:\n" && \
        ls -la && \
        echo -e "Running tests...\n" && \
        PYTHONPATH=. ${py3vers} -m pytest
done