diff options
Diffstat (limited to 'source4/build/pidl/tests/ndr_string.pl')
-rwxr-xr-x | source4/build/pidl/tests/ndr_string.pl | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/source4/build/pidl/tests/ndr_string.pl b/source4/build/pidl/tests/ndr_string.pl index c011a29028..ad8db912d7 100755 --- a/source4/build/pidl/tests/ndr_string.pl +++ b/source4/build/pidl/tests/ndr_string.pl @@ -4,17 +4,15 @@ # Published under the GNU General Public License 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("string-pull-empty", \%settings, +Parse::Pidl::Test::test_idl("string-pull-empty", \%settings, ' [public] void TestString([in,flag(STR_ASCII|LIBNDR_FLAG_STR_SIZE4)] string data);', ' uint8_t data[] = { 0x00, 0x00, 0x00, 0x00 }; @@ -33,7 +31,7 @@ Test::test_idl("string-pull-empty", \%settings, return 3; '); -Test::test_idl("string-ascii-pull", \%settings, +Parse::Pidl::Test::test_idl("string-ascii-pull", \%settings, ' [public] void TestString([in,flag(STR_ASCII|LIBNDR_FLAG_STR_SIZE4)] string data); ', |