File: run.sh

package info (click to toggle)
python-magic 2%3A0.4.15-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 336 kB
  • sloc: python: 513; sh: 12; makefile: 3
file content (17 lines) | stat: -rwxr-xr-x 388 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh


# ensure we can use unicode filenames in the test
export LC_ALL=en_US.UTF-8
THISDIR=`dirname $0`
export PYTHONPATH=${THISDIR}/..

echo "python2.6"
python2.6 ${THISDIR}/test.py
python2.6 ${THISDIR}/libmagic_test.py
echo "python2.7"
python2.7 ${THISDIR}/test.py
python2.7 ${THISDIR}/libmagic_test.py
echo "python3"
python3 ${THISDIR}/test.py
python3 ${THISDIR}/libmagic_test.py