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

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

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

export PYTHONPATH=lib/tdb/swig:lib/ldb/swig:scripting/swig:$PYTHONPATH
export LD_LIBRARY_PATH=bin:$LD_LIBRARY_PATH

echo Testing tdb wrappers
scripting/swig/torture/torture_tdb.py

echo Testing ldb wrappers
scripting/swig/torture/torture_ldb.py