1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-07 12:23:51 +03:00
Files
samba-mirror/source/script/tests/test_swig.sh
Tim Potter 3dfd0959f7 r14798: Get swig building again (by commenting out dcerpc stuff for now).
Add the start of a test framework for swigged functionality.
2007-10-10 13:59:20 -05:00

20 lines
278 B
Bash
Executable File

#!/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