r6856: Add a couple of tests that test for the behaviour described in
[samba.git] / source / build / pidl / test.pm
index ba86d8eb10aaedff9442ca13294e8fdc554fffc1..9004d7c4c6f3e66ba66ecf71af653629dfe4da4e 100644 (file)
@@ -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";