diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2005-12-24 23:32:50 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:47:42 -0500 |
commit | 68ef82aac72c351f6e166b92bbb4573e8bcdbc86 (patch) | |
tree | b4a7b5518eb5f525f17990b240f121a62283ec29 /source4/script | |
parent | ebfbb2a7abe33e47af48d69164c37f4c24b7f8ed (diff) | |
download | samba-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')
-rwxr-xr-x | source4/script/tests/test_pidl.sh | 14 | ||||
-rw-r--r-- | source4/script/tests/tests_all.sh | 1 |
2 files changed, 8 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 + diff --git a/source4/script/tests/tests_all.sh b/source4/script/tests/tests_all.sh index 5c480e9995..8abebf0dce 100644 --- a/source4/script/tests/tests_all.sh +++ b/source4/script/tests/tests_all.sh @@ -8,3 +8,4 @@ $SRCDIR/script/tests/test_echo.sh $SERVER $USERNAME $PASSWORD $DOMAIN || failed=`expr $failed + $?` $SRCDIR/script/tests/test_posix.sh //$SERVER/tmp $USERNAME $PASSWORD "" || failed=`expr $failed + $?` $SRCDIR/script/tests/test_local.sh || failed=`expr $failed + $?` + $SRCDIR/script/tests/test_pidl.sh || failed=`expr $failed + $?` |