summaryrefslogtreecommitdiff
path: root/run_tests_py3.sh
blob: aa681ef92f6f21885eab81fda42b940e6a1fe542 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/sh
python3 setup.py build

if [ -d build/py3_testing ]; then
    rm -r build/py3_testing
    echo "Removed py3_testing directory from previous run."
fi

mkdir build/py3_testing
cp -r test build/py3_testing/
cp skiptests.list run_tests.py build/py3_testing/
cp -r build/lib/rdflib build/py3_testing/

cd build/py3_testing

2to3 -wn --no-diffs test
2to3 -wn --no-diffs run_tests.py

python3 run_tests.py $@