summaryrefslogtreecommitdiff
path: root/source4/pidl/tests/ndr_simple.pl
diff options
context:
space:
mode:
Diffstat (limited to 'source4/pidl/tests/ndr_simple.pl')
-rwxr-xr-xsource4/pidl/tests/ndr_simple.pl8
1 files changed, 6 insertions, 2 deletions
diff --git a/source4/pidl/tests/ndr_simple.pl b/source4/pidl/tests/ndr_simple.pl
index 7d48c9f4d7..2c2c910a56 100755
--- a/source4/pidl/tests/ndr_simple.pl
+++ b/source4/pidl/tests/ndr_simple.pl
@@ -5,12 +5,18 @@
use strict;
use Parse::Pidl::Test;
+use Parse::Pidl::IDL;
+use Parse::Pidl::NDR;
+use Parse::Pidl::Samba::NDR;
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'];
+my $pidl = Parse::Pidl::IDL::parse_string('void Test();');
+my $pndr = Parse::Pidl::NDR::Parse($pidl);
+
Parse::Pidl::Test::test_idl(
# Name
'UInt8',
@@ -18,8 +24,6 @@ Parse::Pidl::Test::test_idl(
# Settings
\%settings,
- # IDL
- 'void Test();',
# C Test
'