summaryrefslogtreecommitdiff
path: root/utils/NewNightlyTest.pl
diff options
context:
space:
mode:
authorPatrick Jenkins <pjenkins@apple.com>2006-08-02 23:48:07 +0000
committerPatrick Jenkins <pjenkins@apple.com>2006-08-02 23:48:07 +0000
commit59a2798a3255c4346bd40f93d8b38784f30967b5 (patch)
treeda7237ba851b45b2f8c8f3f15c0c52a704ed46d6 /utils/NewNightlyTest.pl
parent4876dc5b137a19039182bd4cfe2100917cbd468f (diff)
downloadllvm-59a2798a3255c4346bd40f93d8b38784f30967b5.tar.gz
llvm-59a2798a3255c4346bd40f93d8b38784f30967b5.tar.bz2
llvm-59a2798a3255c4346bd40f93d8b38784f30967b5.tar.xz
We now only search the following directories for .o and .a files:
utils/ libs/ tools/ Release/ & Debug/ as per Chris. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29488 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/NewNightlyTest.pl')
-rwxr-xr-xutils/NewNightlyTest.pl25
1 files changed, 22 insertions, 3 deletions
diff --git a/utils/NewNightlyTest.pl b/utils/NewNightlyTest.pl
index aa24bc8ed9..05bb5218be 100755
--- a/utils/NewNightlyTest.pl
+++ b/utils/NewNightlyTest.pl
@@ -676,8 +676,27 @@ if(!$BuildError){
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 @@ else{
@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";
##############################################################
#