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/pidl/tests/ndr_array.pl | |
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/pidl/tests/ndr_array.pl')
-rwxr-xr-x | source4/pidl/tests/ndr_array.pl | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/source4/pidl/tests/ndr_array.pl b/source4/pidl/tests/ndr_array.pl index d486308339..ad313949c5 100755 --- a/source4/pidl/tests/ndr_array.pl +++ b/source4/pidl/tests/ndr_array.pl @@ -4,12 +4,7 @@ # Published under the GNU General Public License use strict; -use Parse::Pidl::Test; - -my %settings = Parse::Pidl::Test::GetSettings(@ARGV); -$settings{'IDL-Arguments'} = ['--quiet', '--parse', '--parser=ndr_test.c', '--header=ndr_test.h']; -$settings{'IncludeFiles'} = ['ndr_test.h']; -$settings{'ExtraFiles'} = ['ndr_test.c']; +use Test::Simple tests => 1; Parse::Pidl::Test::test_idl( # Name |