summaryrefslogtreecommitdiff
path: root/source4/build/pidl/tests/ndr_refptr.pl
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2005-05-17 17:32:25 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:16:52 -0500
commit6e3b2448eb6cc48a95eeec24f397d3243f9473bf (patch)
treefb15898b9a8b47e951db048a47cfe60169c4532e /source4/build/pidl/tests/ndr_refptr.pl
parent1751007e645d206f48d2efa4470fd99fbbecf2b8 (diff)
downloadsamba-6e3b2448eb6cc48a95eeec24f397d3243f9473bf.tar.gz
samba-6e3b2448eb6cc48a95eeec24f397d3243f9473bf.tar.bz2
samba-6e3b2448eb6cc48a95eeec24f397d3243f9473bf.zip
r6862: Add some more tests
Accept new command-line options --keep, --outputdir and --idl-compiler. We're currently at 34 IDL tests (...and counting) (This used to be commit 7004f9515b75bce5b46e444f1865d377fdae0afa)
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 {