]> git.k1024.org Git - pyxattr.git/blob - run-tests.sh
Remove use of deprecated fail* test functions
[pyxattr.git] / run-tests.sh
1 #!/bin/sh
2
3 set -e
4
5 for ver in 2.4 2.5 2.6 3.0 3.1; do
6     if ! type python$ver >/dev/null; then
7         echo Skipping python$ver
8         continue
9     fi
10     echo Testing using python$ver
11     rm -f xattr.so
12     python$ver ./setup.py clean
13     python$ver ./setup.py build_ext -i
14     PYTHONPATH=. python$ver ./test/test_xattr.py
15 done