Imported Upstream version 1.4.10
This commit is contained in:
		
							parent
							
								
									6dd54dd8e2
								
							
						
					
					
						commit
						cff68b4c0a
					
				
					 203 changed files with 15026 additions and 8063 deletions
				
			
		| 
						 | 
				
			
			@ -14,13 +14,14 @@ use Sys::Hostname;
 | 
			
		|||
use Cwd;
 | 
			
		||||
use Time::Local;
 | 
			
		||||
 | 
			
		||||
my $Version = '$Revision: 1.3 $';
 | 
			
		||||
my $Version = '$Revision: 1767 $';
 | 
			
		||||
 | 
			
		||||
my $myhost = hostname;
 | 
			
		||||
chomp($myhost);
 | 
			
		||||
my ($host, $junk) = split(/\./, $myhost);
 | 
			
		||||
	
 | 
			
		||||
my $BuildAdministrator = $ENV{TINDERBOX_BUILD_ADMIN} || "$ENV{'USER'}\@$myhost";
 | 
			
		||||
my $TmpDir = $ENV{TMPDIR} || "/tmp";
 | 
			
		||||
 | 
			
		||||
#Default values of cmdline opts
 | 
			
		||||
my $ReportStatus = 0;  # Do not send results to server
 | 
			
		||||
| 
						 | 
				
			
			@ -266,13 +267,15 @@ sub make {
 | 
			
		|||
sub maketest {
 | 
			
		||||
        # Tests
 | 
			
		||||
        print LOG "LANG=C make test 2>&1\n";
 | 
			
		||||
        open( MAKE, "LANG=C make test 2>&1 |");
 | 
			
		||||
        open( MAKE, "LANG=C make test && make install DESTDIR=$TmpDir/tinderbox_build.$$ && make install-strip DESTDIR=$TmpDir/tinderbox_build2.$$ 2>&1 |");
 | 
			
		||||
	while ( <MAKE> ) {
 | 
			
		||||
		print $_;
 | 
			
		||||
		print LOG $_;
 | 
			
		||||
	}
 | 
			
		||||
	close( MAKE);
 | 
			
		||||
	return ! $?;
 | 
			
		||||
	my $rc = $?;
 | 
			
		||||
	system("rm -fr $TmpDir/tinderbox_build.$$ $TmpDir/tinderbox_build2.$$");
 | 
			
		||||
	return ! $rc;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
# Main function
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue