summaryrefslogtreecommitdiff
path: root/source4/build/pidl/tests/ndr_simple.pl
diff options
context:
space:
mode:
Diffstat (limited to 'source4/build/pidl/tests/ndr_simple.pl')
-rwxr-xr-xsource4/build/pidl/tests/ndr_simple.pl9
1 files changed, 4 insertions, 5 deletions
diff --git a/source4/build/pidl/tests/ndr_simple.pl b/source4/build/pidl/tests/ndr_simple.pl
index 29b4784e52..7049dfa68d 100755
--- a/source4/build/pidl/tests/ndr_simple.pl
+++ b/source4/build/pidl/tests/ndr_simple.pl
@@ -8,11 +8,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(
# Name