summaryrefslogtreecommitdiff
path: root/source4/build/pidl/tests/ndr_refptr.pl
diff options
context:
space:
mode:
Diffstat (limited to 'source4/build/pidl/tests/ndr_refptr.pl')
-rwxr-xr-xsource4/build/pidl/tests/ndr_refptr.pl9
1 files changed, 4 insertions, 5 deletions
diff --git a/source4/build/pidl/tests/ndr_refptr.pl b/source4/build/pidl/tests/ndr_refptr.pl
index 72698a78bd..59ebd295f6 100755
--- a/source4/build/pidl/tests/ndr_refptr.pl
+++ b/source4/build/pidl/tests/ndr_refptr.pl
@@ -9,11 +9,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'];
Test::test_idl("noptr-push", \%settings,
' typedef struct {