From b98373d574f43fb5d088a59acf1c81ea0b311977 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Sat, 9 Jul 2005 15:56:17 +0000 Subject: r8265: Fixes to the pidl test suite. (This used to be commit 1235333afbfab643ea35e9b43f6142da3f6a41d7) --- source4/build/pidl/tests/ndr_align.pl | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) (limited to 'source4/build/pidl/tests/ndr_align.pl') 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; -- cgit