summaryrefslogtreecommitdiff
path: root/source4/script/tests/test_swig.sh
blob: 6b97ab4d33ee370e86ef892c64b2a60622e6043c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/sh

if [ $# -ne 0 ]; then
    cat <<EOF
Usage: test_swig.sh
EOF
    exit 1;
fi

incdir=`dirname $0`
. $incdir/test_functions.sh

failed=0

export PYTHONPATH=scripting/swig:$PYTHONPATh

scripting/swig/torture/torture_tdb.py || failed=`expr $failed + 1`

testok $0 $failed