summaryrefslogtreecommitdiff
path: root/source4/build/pidl/test.pm
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2005-05-17 12:17:42 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:16:51 -0500
commit5af7002c1de5d59626e68420b43526ef5ffe3f42 (patch)
tree3ff17a01bbf292f44a76ad997ed63e157be2e5c2 /source4/build/pidl/test.pm
parent764d199ca1819a5fe17614bfa2f1295364ac695f (diff)
downloadsamba-5af7002c1de5d59626e68420b43526ef5ffe3f42.tar.gz
samba-5af7002c1de5d59626e68420b43526ef5ffe3f42.tar.bz2
samba-5af7002c1de5d59626e68420b43526ef5ffe3f42.zip
r6856: Add a couple of tests that test for the behaviour described in
tridge's ref_notes.txt document. (This used to be commit 04196e0aff10846ec69a9c35e61517bb7f856386)
Diffstat (limited to 'source4/build/pidl/test.pm')
-rw-r--r--source4/build/pidl/test.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/build/pidl/test.pm b/source4/build/pidl/test.pm
index ba86d8eb10..9004d7c4c6 100644
--- a/source4/build/pidl/test.pm
+++ b/source4/build/pidl/test.pm
@@ -20,7 +20,7 @@ sub generate_cfile($$$)
print OUT '
/* This file was autogenerated. All changes made will be lost! */
#include "include/includes.h"
- ';
+';
foreach (@$incfiles) {
print OUT "#include \"$_\"\n";
@@ -118,6 +118,7 @@ sub test_idl($$$$)
my $ret = system("./$exe_filename");
if ($ret != 0) {
print STDERR "$name failed with return value $ret\n";
+ return $ret;
}
print "Ok\n";