summaryrefslogtreecommitdiff
path: root/source4/script/tests
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2005-12-25 03:04:13 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:47:43 -0500
commit7717f180ca2f908e1b3258355520719991215050 (patch)
treecca55b2debbe63fdf39d6810ad7987af28ffc04a /source4/script/tests
parent620d375320e143abcf6775a392f9bde3146f2baa (diff)
downloadsamba-7717f180ca2f908e1b3258355520719991215050.tar.gz
samba-7717f180ca2f908e1b3258355520719991215050.tar.bz2
samba-7717f180ca2f908e1b3258355520719991215050.zip
r12470: Add helper module for pidl tests
Convert other pidl tests to use Test::More and run them from 'make test' (This used to be commit 3a57d29a62112ab654e290ccc985fba7f67664c5)
Diffstat (limited to 'source4/script/tests')
-rwxr-xr-xsource4/script/tests/test_pidl.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/source4/script/tests/test_pidl.sh b/source4/script/tests/test_pidl.sh
index 6ef2b0ab91..06f9617ec9 100755
--- a/source4/script/tests/test_pidl.sh
+++ b/source4/script/tests/test_pidl.sh
@@ -3,6 +3,8 @@ if [ ! -n "$PERL" ]
then
PERL=perl
fi
-#$PERL -MExtUtils::Command::MM -e "test_harness()" pidl/tests/*.pl
-$PERL -MExtUtils::Command::MM -e "test_harness()" pidl/tests/parse_idl.pl
+incdir=`dirname $0`
+. $incdir/test_functions.sh
+
+$PERL -MExtUtils::Command::MM -e "test_harness()" pidl/tests/*.pl || testok $0 1