From 3dfd0959f78518c021417f3f1158c51d70a1e88c Mon Sep 17 00:00:00 2001 From: Tim Potter Date: Thu, 30 Mar 2006 04:39:37 +0000 Subject: [PATCH] r14798: Get swig building again (by commenting out dcerpc stuff for now). Add the start of a test framework for swigged functionality. --- source/main.mk | 3 +++ source/script/tests/test_swig.sh | 19 +++++++++++++++++++ source/scripting/config.mk | 9 +++++---- source/scripting/swig/torture/torture_tdb.py | 10 ++++++++++ 4 files changed, 37 insertions(+), 4 deletions(-) create mode 100755 source/script/tests/test_swig.sh create mode 100755 source/scripting/swig/torture/torture_tdb.py diff --git a/source/main.mk b/source/main.mk index b1d001a2aee..6ae230488d7 100644 --- a/source/main.mk +++ b/source/main.mk @@ -304,6 +304,9 @@ gdbtest-all: all unused_macros: ./script/find_unused_macros.pl `find . -name "*.[ch]"` | sort +swigtest: swig + ./script/tests/test_swig.sh + ############################################################################### # File types ############################################################################### diff --git a/source/script/tests/test_swig.sh b/source/script/tests/test_swig.sh new file mode 100755 index 00000000000..6b97ab4d33e --- /dev/null +++ b/source/script/tests/test_swig.sh @@ -0,0 +1,19 @@ +#!/bin/sh + +if [ $# -ne 0 ]; then + cat <