File: unittests

package info (click to toggle)
python-memcache 1.62-4
  • links: PTS, VCS
  • area: main
  • in suites:
  • size: 252 kB
  • sloc: python: 1,333; makefile: 28; sh: 19
file content (13 lines) | stat: -rwxr-xr-x 307 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh

set -e
set -x

PYTHON3S=$(py3versions -vr 2>/dev/null)

chmod +x debian/setup-test-env-memcached.sh
for i in ${PYTHON3S} ; do \
	PYMAJOR=`echo $i | cut -d'.' -f1` ; \
	echo "===> Testing with python$i (python$PYMAJOR)" ; \
	debian/setup-test-env-memcached.sh python$i -m pytest -v tests ; \
done