diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2005-12-25 03:04:13 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:47:43 -0500 |
commit | 7717f180ca2f908e1b3258355520719991215050 (patch) | |
tree | cca55b2debbe63fdf39d6810ad7987af28ffc04a /source4/pidl/tests/ndr_array.pl | |
parent | 620d375320e143abcf6775a392f9bde3146f2baa (diff) | |
download | samba-7717f180ca2f908e1b3258355520719991215050.tar.gz samba-7717f180ca2f908e1b3258355520719991215050.tar.bz2 samba-7717f180ca2f908e1b3258355520719991215050.zip |
r12470: Add helper module for pidl tests
Convert other pidl tests to use Test::More and run them from 'make test'
(This used to be commit 3a57d29a62112ab654e290ccc985fba7f67664c5)
Diffstat (limited to 'source4/pidl/tests/ndr_array.pl')
-rwxr-xr-x | source4/pidl/tests/ndr_array.pl | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/source4/pidl/tests/ndr_array.pl b/source4/pidl/tests/ndr_array.pl index ad313949c5..b28070536e 100755 --- a/source4/pidl/tests/ndr_array.pl +++ b/source4/pidl/tests/ndr_array.pl @@ -4,19 +4,17 @@ # Published under the GNU General Public License use strict; -use Test::Simple tests => 1; +use Test::More tests => 8; +use FindBin qw($RealBin); +use lib "$RealBin/../lib"; +use lib "$RealBin"; +use Util qw(test_samba4_ndr); -Parse::Pidl::Test::test_idl( - # Name +test_samba4_ndr( 'Fixed-Array', - # Settings - \%settings, - - # IDL '[public] void Test([in] uint8 x[10]);', - # C Test ' uint8_t data[] = {1,2,3,4,5,6,7,8,9,10}; int i; |