[llvm-commits] CVS: llvm/utils/NewNightlyTest.pl

Patrick Jenkins pjenkins at apple.com
Wed Aug 2 16:48:23 PDT 2006



Changes in directory llvm/utils:

NewNightlyTest.pl updated: 1.37 -> 1.38
---
Log message:

We now only search the following directories for .o and .a files:
utils/
libs/
tools/
Release/ & Debug/ 
as per Chris.




---
Diffs of the changes:  (+22 -3)

 NewNightlyTest.pl |   25 ++++++++++++++++++++++---
 1 files changed, 22 insertions(+), 3 deletions(-)


Index: llvm/utils/NewNightlyTest.pl
diff -u llvm/utils/NewNightlyTest.pl:1.37 llvm/utils/NewNightlyTest.pl:1.38
--- llvm/utils/NewNightlyTest.pl:1.37	Wed Aug  2 13:37:40 2006
+++ llvm/utils/NewNightlyTest.pl	Wed Aug  2 18:48:07 2006
@@ -676,8 +676,27 @@
         print "Organizing size of .o and .a files\n";
     }
 	ChangeDir( "$BuildDir/llvm", "Build Directory" );
-	$afiles = `find . -iname '*.a' -ls`;
-	$ofiles = `find . -iname '*.o' -ls`;
+	$afiles.= `find utils/ -iname '*.a' -ls`;
+	$afiles.= `find libs/ -iname '*.a' -ls`;
+	$afiles.= `find tools/ -iname '*.a' -ls`;
+	if($BUILDTYPE eq "release"){
+		$afiles.= `find Release/ -iname '*.a' -ls`;
+	}
+	else{
+		$afiles.= `find Debug/ -iname '*.a' -ls`;
+	}
+	
+	
+	$ofiles.= `find utils/ -iname '*.o' -ls`;
+	$ofiles.= `find libs/ -iname '*.o' -ls`;
+	$ofiles.= `find tools/ -iname '*.o' -ls`;
+	if($BUILDTYPE eq "release"){
+		$ofiles.= `find Release/ -iname '*.o' -ls`;
+	}
+	else{
+		$ofiles.= `find Debug/ -iname '*.o' -ls`;
+	}
+	
 	@AFILES = split "\n", $afiles;
 	$a_file_sizes="";
 	foreach $x (@AFILES){
@@ -962,7 +981,7 @@
 @GCC_VERSION = split '\n', $gcc_version_long;
 my $gcc_version = $GCC_VERSION[0];
 
-my $all_tests = ReadFile, "$Prefix-Tests.txt";
+my $all_tests = ReadFile "$Prefix-Tests.txt";
 
 ##############################################################
 #






More information about the llvm-commits mailing list