File: unittests

package info (click to toggle)
python-xlib 0.33-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,040 kB
  • sloc: python: 23,022; awk: 89; makefile: 60; sh: 10
file content (13 lines) | stat: -rw-r--r-- 225 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
#! /bin/sh

set -efu

cp -r test/ "$AUTOPKGTEST_TMP"
cd "$AUTOPKGTEST_TMP"

PYS=$(py3versions -s)
for py in $PYS; do
    echo "Testing with $py:"

    xvfb-run --auto-servernum --server-num=1 $py -m unittest discover -v
done