summaryrefslogtreecommitdiff
path: root/source4/build/pidl/tests/ndr_alloc.pl
diff options
context:
space:
mode:
Diffstat (limited to 'source4/build/pidl/tests/ndr_alloc.pl')
-rwxr-xr-xsource4/build/pidl/tests/ndr_alloc.pl9
1 files changed, 4 insertions, 5 deletions
diff --git a/source4/build/pidl/tests/ndr_alloc.pl b/source4/build/pidl/tests/ndr_alloc.pl
index 86f3ec153c..7918f312d4 100755
--- a/source4/build/pidl/tests/ndr_alloc.pl
+++ b/source4/build/pidl/tests/ndr_alloc.pl
@@ -7,11 +7,10 @@ use FindBin qw($RealBin);
use lib "$RealBin/..";
use test;
-my %settings = (
- 'IDL-Arguments' => ['--quiet', '--parse', '--parser=ndr_test.c', '--header=ndr_test.h'],
- 'IncludeFiles' => ['ndr_test.h'],
- 'ExtraFiles' => ['ndr_test.c'],
-);
+my %settings = 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'];
# Check that an outgoing scalar pointer is allocated correctly