diff options
Diffstat (limited to 'source4/script')
-rwxr-xr-x | source4/script/tests/test_swig.sh | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/source4/script/tests/test_swig.sh b/source4/script/tests/test_swig.sh new file mode 100755 index 0000000000..6b97ab4d33 --- /dev/null +++ b/source4/script/tests/test_swig.sh @@ -0,0 +1,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 |