From 6e3b2448eb6cc48a95eeec24f397d3243f9473bf Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Tue, 17 May 2005 17:32:25 +0000 Subject: 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) --- source4/build/pidl/tests/ndr_refptr.pl | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'source4/build/pidl/tests/ndr_refptr.pl') 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 { -- cgit