summaryrefslogtreecommitdiff
path: root/source4/script/tests/test_pidl.sh
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2005-12-24 23:32:50 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:47:42 -0500
commit68ef82aac72c351f6e166b92bbb4573e8bcdbc86 (patch)
treeb4a7b5518eb5f525f17990b240f121a62283ec29 /source4/script/tests/test_pidl.sh
parentebfbb2a7abe33e47af48d69164c37f4c24b7f8ed (diff)
downloadsamba-68ef82aac72c351f6e166b92bbb4573e8bcdbc86.tar.gz
samba-68ef82aac72c351f6e166b92bbb4573e8bcdbc86.tar.bz2
samba-68ef82aac72c351f6e166b92bbb4573e8bcdbc86.zip
r12464: Add simple IDL parsing tests for pidl using the standard perl
testing framework (Test::Simple, distributed with perl itself). Run these tests from 'make test' (This used to be commit 975d8816db6697dab828941b69a740e3a0a2c272)
Diffstat (limited to 'source4/script/tests/test_pidl.sh')
-rwxr-xr-xsource4/script/tests/test_pidl.sh14
1 files changed, 7 insertions, 7 deletions
diff --git a/source4/script/tests/test_pidl.sh b/source4/script/tests/test_pidl.sh
index 9b47317463..6ef2b0ab91 100755
--- a/source4/script/tests/test_pidl.sh
+++ b/source4/script/tests/test_pidl.sh
@@ -1,8 +1,8 @@
#!/bin/sh
-PERL=perl
-$PERL -Ibuild/pidl ./build/pidl/tests/ndr_simple.pl
-$PERL -Ibuild/pidl ./build/pidl/tests/ndr_align.pl
-$PERL -Ibuild/pidl ./build/pidl/tests/ndr_alloc.pl
-$PERL -Ibuild/pidl ./build/pidl/tests/ndr_refptr.pl
-$PERL -Ibuild/pidl ./build/pidl/tests/ndr_string.pl
-$PERL -Ibuild/pidl ./build/pidl/tests/ndr_array.pl
+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
+