diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2005-07-09 15:56:17 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:19:28 -0500 |
commit | b98373d574f43fb5d088a59acf1c81ea0b311977 (patch) | |
tree | 0b9f8cce2c87bd792abc6a5bce911e0f3fb66072 /source4/build/pidl/tests/ndr_align.pl | |
parent | fa1445f4bc962efb3e639d3a4e345b1db14155b7 (diff) | |
download | samba-b98373d574f43fb5d088a59acf1c81ea0b311977.tar.gz samba-b98373d574f43fb5d088a59acf1c81ea0b311977.tar.bz2 samba-b98373d574f43fb5d088a59acf1c81ea0b311977.zip |
r8265: Fixes to the pidl test suite.
(This used to be commit 1235333afbfab643ea35e9b43f6142da3f6a41d7)
Diffstat (limited to 'source4/build/pidl/tests/ndr_align.pl')
-rwxr-xr-x | source4/build/pidl/tests/ndr_align.pl | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/source4/build/pidl/tests/ndr_align.pl b/source4/build/pidl/tests/ndr_align.pl index 2cd4bde185..da994224eb 100755 --- a/source4/build/pidl/tests/ndr_align.pl +++ b/source4/build/pidl/tests/ndr_align.pl @@ -3,17 +3,15 @@ # (C) 2005 Jelmer Vernooij. Published under the GNU GPL use strict; -use FindBin qw($RealBin); -use lib "$RealBin/../.."; -use pidl::test; +use Parse::Pidl::Test; -my %settings = Test::GetSettings(@ARGV); +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']; -Test::test_idl('align-uint8-uint16', \%settings, +Parse::Pidl::Test::test_idl('align-uint8-uint16', \%settings, ' typedef [public] struct { uint8 x; @@ -38,7 +36,7 @@ Test::test_idl('align-uint8-uint16', \%settings, return 2; '); -Test::test_idl('align-uint8-uint32', \%settings, +Parse::Pidl::Test::test_idl('align-uint8-uint32', \%settings, ' typedef [public] struct { uint8 x; @@ -64,7 +62,7 @@ Test::test_idl('align-uint8-uint32', \%settings, '); -Test::test_idl('align-uint8-hyper', \%settings, +Parse::Pidl::Test::test_idl('align-uint8-hyper', \%settings, ' typedef [public] struct { uint8 x; @@ -90,7 +88,7 @@ Test::test_idl('align-uint8-hyper', \%settings, return 2; '); -Test::test_idl('noalignflag-uint8-uint16', \%settings, +Parse::Pidl::Test::test_idl('noalignflag-uint8-uint16', \%settings, ' typedef [public] struct { uint8 x; @@ -117,7 +115,7 @@ Test::test_idl('noalignflag-uint8-uint16', \%settings, return 2; '); -Test::test_idl('align-blob-align2', \%settings, +Parse::Pidl::Test::test_idl('align-blob-align2', \%settings, ' typedef [public] struct { uint8 x; |