author | Louis Henry Nayegon <louisn@symbian.org> |
Fri, 29 May 2009 08:07:21 +0100 | |
changeset 117 | 483f966c6335 |
parent 97 | 4f54ca96b7e8 |
child 121 | fc757bffbe1d |
permissions | -rw-r--r-- |
97
4f54ca96b7e8
Add build analysis tools to <sf-run-analysis> target. All output generated in <logs>\analysis dir.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
1 |
#!/usr/bin/perl |
4f54ca96b7e8
Add build analysis tools to <sf-run-analysis> target. All output generated in <logs>\analysis dir.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
2 |
|
4f54ca96b7e8
Add build analysis tools to <sf-run-analysis> target. All output generated in <logs>\analysis dir.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
3 |
# Copyright (c) 2009 Symbian Foundation Ltd |
4f54ca96b7e8
Add build analysis tools to <sf-run-analysis> target. All output generated in <logs>\analysis dir.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
4 |
# This component and the accompanying materials are made available |
4f54ca96b7e8
Add build analysis tools to <sf-run-analysis> target. All output generated in <logs>\analysis dir.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
5 |
# under the terms of the License "Eclipse Public License v1.0" |
4f54ca96b7e8
Add build analysis tools to <sf-run-analysis> target. All output generated in <logs>\analysis dir.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
6 |
# which accompanies this distribution, and is available |
4f54ca96b7e8
Add build analysis tools to <sf-run-analysis> target. All output generated in <logs>\analysis dir.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
7 |
# at the URL "http://www.eclipse.org/legal/epl-v10.html". |
4f54ca96b7e8
Add build analysis tools to <sf-run-analysis> target. All output generated in <logs>\analysis dir.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
8 |
# |
4f54ca96b7e8
Add build analysis tools to <sf-run-analysis> target. All output generated in <logs>\analysis dir.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
9 |
# Initial Contributors: |
4f54ca96b7e8
Add build analysis tools to <sf-run-analysis> target. All output generated in <logs>\analysis dir.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
10 |
# Symbian Foundation Ltd - initial contribution. |
4f54ca96b7e8
Add build analysis tools to <sf-run-analysis> target. All output generated in <logs>\analysis dir.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
11 |
# |
4f54ca96b7e8
Add build analysis tools to <sf-run-analysis> target. All output generated in <logs>\analysis dir.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
12 |
# Contributors: |
4f54ca96b7e8
Add build analysis tools to <sf-run-analysis> target. All output generated in <logs>\analysis dir.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
13 |
# |
4f54ca96b7e8
Add build analysis tools to <sf-run-analysis> target. All output generated in <logs>\analysis dir.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
14 |
# Description: |
4f54ca96b7e8
Add build analysis tools to <sf-run-analysis> target. All output generated in <logs>\analysis dir.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
15 |
# Adds info form a file to a CSV |
4f54ca96b7e8
Add build analysis tools to <sf-run-analysis> target. All output generated in <logs>\analysis dir.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
16 |
|
4f54ca96b7e8
Add build analysis tools to <sf-run-analysis> target. All output generated in <logs>\analysis dir.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
17 |
use strict; |
4f54ca96b7e8
Add build analysis tools to <sf-run-analysis> target. All output generated in <logs>\analysis dir.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
18 |
my $csvfile = shift @ARGV; |
4f54ca96b7e8
Add build analysis tools to <sf-run-analysis> target. All output generated in <logs>\analysis dir.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
19 |
my $filelist = shift @ARGV; |
4f54ca96b7e8
Add build analysis tools to <sf-run-analysis> target. All output generated in <logs>\analysis dir.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
20 |
|
4f54ca96b7e8
Add build analysis tools to <sf-run-analysis> target. All output generated in <logs>\analysis dir.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
21 |
|
4f54ca96b7e8
Add build analysis tools to <sf-run-analysis> target. All output generated in <logs>\analysis dir.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
22 |
if(! -e $csvfile) |
4f54ca96b7e8
Add build analysis tools to <sf-run-analysis> target. All output generated in <logs>\analysis dir.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
23 |
{ |
4f54ca96b7e8
Add build analysis tools to <sf-run-analysis> target. All output generated in <logs>\analysis dir.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
24 |
die "cannot find $csvfile\n"; |
4f54ca96b7e8
Add build analysis tools to <sf-run-analysis> target. All output generated in <logs>\analysis dir.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
25 |
} |
4f54ca96b7e8
Add build analysis tools to <sf-run-analysis> target. All output generated in <logs>\analysis dir.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
26 |
|
4f54ca96b7e8
Add build analysis tools to <sf-run-analysis> target. All output generated in <logs>\analysis dir.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
27 |
|
4f54ca96b7e8
Add build analysis tools to <sf-run-analysis> target. All output generated in <logs>\analysis dir.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
28 |
if(!-e $filelist) |
4f54ca96b7e8
Add build analysis tools to <sf-run-analysis> target. All output generated in <logs>\analysis dir.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
29 |
{ |
4f54ca96b7e8
Add build analysis tools to <sf-run-analysis> target. All output generated in <logs>\analysis dir.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
30 |
die "Cannot find $filelist\n"; |
4f54ca96b7e8
Add build analysis tools to <sf-run-analysis> target. All output generated in <logs>\analysis dir.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
31 |
} |
4f54ca96b7e8
Add build analysis tools to <sf-run-analysis> target. All output generated in <logs>\analysis dir.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
32 |
my %files; |
4f54ca96b7e8
Add build analysis tools to <sf-run-analysis> target. All output generated in <logs>\analysis dir.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
33 |
open(FILES,"<$filelist") or die "Couldn't open $filelist\n"; |
4f54ca96b7e8
Add build analysis tools to <sf-run-analysis> target. All output generated in <logs>\analysis dir.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
34 |
while(my $line = <FILES>) |
4f54ca96b7e8
Add build analysis tools to <sf-run-analysis> target. All output generated in <logs>\analysis dir.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
35 |
{ |
4f54ca96b7e8
Add build analysis tools to <sf-run-analysis> target. All output generated in <logs>\analysis dir.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
36 |
$line =~ s/\\/\//g; |
4f54ca96b7e8
Add build analysis tools to <sf-run-analysis> target. All output generated in <logs>\analysis dir.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
37 |
|
4f54ca96b7e8
Add build analysis tools to <sf-run-analysis> target. All output generated in <logs>\analysis dir.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
38 |
if($line =~ m/^(.+)\s*:\s(.+\S)\s*$/) |
4f54ca96b7e8
Add build analysis tools to <sf-run-analysis> target. All output generated in <logs>\analysis dir.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
39 |
{ |
4f54ca96b7e8
Add build analysis tools to <sf-run-analysis> target. All output generated in <logs>\analysis dir.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
40 |
my $group = $1; |
4f54ca96b7e8
Add build analysis tools to <sf-run-analysis> target. All output generated in <logs>\analysis dir.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
41 |
my $file = $2; |
4f54ca96b7e8
Add build analysis tools to <sf-run-analysis> target. All output generated in <logs>\analysis dir.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
42 |
|
4f54ca96b7e8
Add build analysis tools to <sf-run-analysis> target. All output generated in <logs>\analysis dir.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
43 |
$file = lc($file); |
4f54ca96b7e8
Add build analysis tools to <sf-run-analysis> target. All output generated in <logs>\analysis dir.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
44 |
if($files{$file}) |
4f54ca96b7e8
Add build analysis tools to <sf-run-analysis> target. All output generated in <logs>\analysis dir.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
45 |
{ |
4f54ca96b7e8
Add build analysis tools to <sf-run-analysis> target. All output generated in <logs>\analysis dir.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
46 |
|
4f54ca96b7e8
Add build analysis tools to <sf-run-analysis> target. All output generated in <logs>\analysis dir.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
47 |
$files{$file} = $files{$file}.",".$group; |
4f54ca96b7e8
Add build analysis tools to <sf-run-analysis> target. All output generated in <logs>\analysis dir.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
48 |
print "Multi:$file".$files{$file}."\n"; |
4f54ca96b7e8
Add build analysis tools to <sf-run-analysis> target. All output generated in <logs>\analysis dir.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
49 |
|
4f54ca96b7e8
Add build analysis tools to <sf-run-analysis> target. All output generated in <logs>\analysis dir.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
50 |
} |
4f54ca96b7e8
Add build analysis tools to <sf-run-analysis> target. All output generated in <logs>\analysis dir.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
51 |
else |
4f54ca96b7e8
Add build analysis tools to <sf-run-analysis> target. All output generated in <logs>\analysis dir.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
52 |
{ |
4f54ca96b7e8
Add build analysis tools to <sf-run-analysis> target. All output generated in <logs>\analysis dir.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
53 |
$files{$file} = ",".$group; |
4f54ca96b7e8
Add build analysis tools to <sf-run-analysis> target. All output generated in <logs>\analysis dir.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
54 |
} |
4f54ca96b7e8
Add build analysis tools to <sf-run-analysis> target. All output generated in <logs>\analysis dir.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
55 |
} |
4f54ca96b7e8
Add build analysis tools to <sf-run-analysis> target. All output generated in <logs>\analysis dir.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
56 |
} |
4f54ca96b7e8
Add build analysis tools to <sf-run-analysis> target. All output generated in <logs>\analysis dir.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
57 |
close FILE; |
4f54ca96b7e8
Add build analysis tools to <sf-run-analysis> target. All output generated in <logs>\analysis dir.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
58 |
|
4f54ca96b7e8
Add build analysis tools to <sf-run-analysis> target. All output generated in <logs>\analysis dir.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
59 |
open(CSV,"<$csvfile") or die "Couldn't open $csvfile\n"; |
4f54ca96b7e8
Add build analysis tools to <sf-run-analysis> target. All output generated in <logs>\analysis dir.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
60 |
my $resultsfile = $csvfile."_results.csv"; |
4f54ca96b7e8
Add build analysis tools to <sf-run-analysis> target. All output generated in <logs>\analysis dir.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
61 |
open(RESULTS,">$resultsfile") or die "Couldn't open write to $resultsfile\n"; |
4f54ca96b7e8
Add build analysis tools to <sf-run-analysis> target. All output generated in <logs>\analysis dir.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
62 |
my $header = <CSV>; |
4f54ca96b7e8
Add build analysis tools to <sf-run-analysis> target. All output generated in <logs>\analysis dir.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
63 |
$header =~ s/\n//; |
4f54ca96b7e8
Add build analysis tools to <sf-run-analysis> target. All output generated in <logs>\analysis dir.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
64 |
print RESULTS $header.",status\n"; |
4f54ca96b7e8
Add build analysis tools to <sf-run-analysis> target. All output generated in <logs>\analysis dir.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
65 |
my @fields = split(',',$header); |
4f54ca96b7e8
Add build analysis tools to <sf-run-analysis> target. All output generated in <logs>\analysis dir.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
66 |
my $targetindex = 0; |
4f54ca96b7e8
Add build analysis tools to <sf-run-analysis> target. All output generated in <logs>\analysis dir.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
67 |
my $counter = 0; |
4f54ca96b7e8
Add build analysis tools to <sf-run-analysis> target. All output generated in <logs>\analysis dir.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
68 |
my $bldinfindex = 0; |
4f54ca96b7e8
Add build analysis tools to <sf-run-analysis> target. All output generated in <logs>\analysis dir.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
69 |
|
4f54ca96b7e8
Add build analysis tools to <sf-run-analysis> target. All output generated in <logs>\analysis dir.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
70 |
my %failed; |
4f54ca96b7e8
Add build analysis tools to <sf-run-analysis> target. All output generated in <logs>\analysis dir.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
71 |
my %bldinffiles; |
4f54ca96b7e8
Add build analysis tools to <sf-run-analysis> target. All output generated in <logs>\analysis dir.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
72 |
foreach my $column (@fields) |
4f54ca96b7e8
Add build analysis tools to <sf-run-analysis> target. All output generated in <logs>\analysis dir.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
73 |
{ |
4f54ca96b7e8
Add build analysis tools to <sf-run-analysis> target. All output generated in <logs>\analysis dir.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
74 |
if($column =~ m/target/) |
4f54ca96b7e8
Add build analysis tools to <sf-run-analysis> target. All output generated in <logs>\analysis dir.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
75 |
{ |
4f54ca96b7e8
Add build analysis tools to <sf-run-analysis> target. All output generated in <logs>\analysis dir.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
76 |
$targetindex = $counter; |
4f54ca96b7e8
Add build analysis tools to <sf-run-analysis> target. All output generated in <logs>\analysis dir.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
77 |
} |
4f54ca96b7e8
Add build analysis tools to <sf-run-analysis> target. All output generated in <logs>\analysis dir.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
78 |
elsif($column =~ m/bldinf/) |
4f54ca96b7e8
Add build analysis tools to <sf-run-analysis> target. All output generated in <logs>\analysis dir.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
79 |
{ |
4f54ca96b7e8
Add build analysis tools to <sf-run-analysis> target. All output generated in <logs>\analysis dir.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
80 |
$bldinfindex = $counter; |
4f54ca96b7e8
Add build analysis tools to <sf-run-analysis> target. All output generated in <logs>\analysis dir.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
81 |
} |
4f54ca96b7e8
Add build analysis tools to <sf-run-analysis> target. All output generated in <logs>\analysis dir.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
82 |
++$counter; |
4f54ca96b7e8
Add build analysis tools to <sf-run-analysis> target. All output generated in <logs>\analysis dir.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
83 |
} |
4f54ca96b7e8
Add build analysis tools to <sf-run-analysis> target. All output generated in <logs>\analysis dir.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
84 |
# print "\ntarget:$targetindex\tbuildinf:$bldinfindex\n"; |
4f54ca96b7e8
Add build analysis tools to <sf-run-analysis> target. All output generated in <logs>\analysis dir.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
85 |
while(my $line = <CSV>) |
4f54ca96b7e8
Add build analysis tools to <sf-run-analysis> target. All output generated in <logs>\analysis dir.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
86 |
{ |
4f54ca96b7e8
Add build analysis tools to <sf-run-analysis> target. All output generated in <logs>\analysis dir.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
87 |
$line =~ s/\n//; |
4f54ca96b7e8
Add build analysis tools to <sf-run-analysis> target. All output generated in <logs>\analysis dir.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
88 |
@fields = split(',',$line); |
4f54ca96b7e8
Add build analysis tools to <sf-run-analysis> target. All output generated in <logs>\analysis dir.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
89 |
my $target = $fields[$targetindex]; |
4f54ca96b7e8
Add build analysis tools to <sf-run-analysis> target. All output generated in <logs>\analysis dir.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
90 |
$target = lc($target); |
4f54ca96b7e8
Add build analysis tools to <sf-run-analysis> target. All output generated in <logs>\analysis dir.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
91 |
my $bldinf = $fields[$bldinfindex]; |
4f54ca96b7e8
Add build analysis tools to <sf-run-analysis> target. All output generated in <logs>\analysis dir.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
92 |
if(!defined $bldinffiles{$bldinf}) |
4f54ca96b7e8
Add build analysis tools to <sf-run-analysis> target. All output generated in <logs>\analysis dir.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
93 |
{ |
4f54ca96b7e8
Add build analysis tools to <sf-run-analysis> target. All output generated in <logs>\analysis dir.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
94 |
$bldinffiles{$bldinf} = 1; |
4f54ca96b7e8
Add build analysis tools to <sf-run-analysis> target. All output generated in <logs>\analysis dir.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
95 |
} |
4f54ca96b7e8
Add build analysis tools to <sf-run-analysis> target. All output generated in <logs>\analysis dir.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
96 |
|
4f54ca96b7e8
Add build analysis tools to <sf-run-analysis> target. All output generated in <logs>\analysis dir.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
97 |
if(defined $files{$target}) |
4f54ca96b7e8
Add build analysis tools to <sf-run-analysis> target. All output generated in <logs>\analysis dir.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
98 |
{ |
4f54ca96b7e8
Add build analysis tools to <sf-run-analysis> target. All output generated in <logs>\analysis dir.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
99 |
$line = $line.$files{$target}; |
4f54ca96b7e8
Add build analysis tools to <sf-run-analysis> target. All output generated in <logs>\analysis dir.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
100 |
if($files{$target} =~ m/fail/i) |
4f54ca96b7e8
Add build analysis tools to <sf-run-analysis> target. All output generated in <logs>\analysis dir.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
101 |
{ |
4f54ca96b7e8
Add build analysis tools to <sf-run-analysis> target. All output generated in <logs>\analysis dir.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
102 |
if(!defined $failed{$bldinf}) |
4f54ca96b7e8
Add build analysis tools to <sf-run-analysis> target. All output generated in <logs>\analysis dir.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
103 |
{ |
4f54ca96b7e8
Add build analysis tools to <sf-run-analysis> target. All output generated in <logs>\analysis dir.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
104 |
$failed{$bldinf} = 1; |
4f54ca96b7e8
Add build analysis tools to <sf-run-analysis> target. All output generated in <logs>\analysis dir.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
105 |
} |
4f54ca96b7e8
Add build analysis tools to <sf-run-analysis> target. All output generated in <logs>\analysis dir.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
106 |
} |
4f54ca96b7e8
Add build analysis tools to <sf-run-analysis> target. All output generated in <logs>\analysis dir.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
107 |
} |
4f54ca96b7e8
Add build analysis tools to <sf-run-analysis> target. All output generated in <logs>\analysis dir.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
108 |
print RESULTS $line."\n"; |
4f54ca96b7e8
Add build analysis tools to <sf-run-analysis> target. All output generated in <logs>\analysis dir.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
109 |
|
4f54ca96b7e8
Add build analysis tools to <sf-run-analysis> target. All output generated in <logs>\analysis dir.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
110 |
} |
4f54ca96b7e8
Add build analysis tools to <sf-run-analysis> target. All output generated in <logs>\analysis dir.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
111 |
close RESULTS; |
4f54ca96b7e8
Add build analysis tools to <sf-run-analysis> target. All output generated in <logs>\analysis dir.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
112 |
close CSV; |
4f54ca96b7e8
Add build analysis tools to <sf-run-analysis> target. All output generated in <logs>\analysis dir.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
113 |
foreach my $bldinf (sort(keys %bldinffiles)) |
4f54ca96b7e8
Add build analysis tools to <sf-run-analysis> target. All output generated in <logs>\analysis dir.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
114 |
{ |
4f54ca96b7e8
Add build analysis tools to <sf-run-analysis> target. All output generated in <logs>\analysis dir.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
115 |
if(!defined $failed{$bldinf}) |
4f54ca96b7e8
Add build analysis tools to <sf-run-analysis> target. All output generated in <logs>\analysis dir.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
116 |
{ |
4f54ca96b7e8
Add build analysis tools to <sf-run-analysis> target. All output generated in <logs>\analysis dir.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
117 |
print "OK:\t$bldinf\n"; |
4f54ca96b7e8
Add build analysis tools to <sf-run-analysis> target. All output generated in <logs>\analysis dir.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
118 |
} |
4f54ca96b7e8
Add build analysis tools to <sf-run-analysis> target. All output generated in <logs>\analysis dir.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
119 |
} |
4f54ca96b7e8
Add build analysis tools to <sf-run-analysis> target. All output generated in <logs>\analysis dir.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
120 |
foreach my $bldinf (sort(keys %failed)) |
4f54ca96b7e8
Add build analysis tools to <sf-run-analysis> target. All output generated in <logs>\analysis dir.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
121 |
{ |
4f54ca96b7e8
Add build analysis tools to <sf-run-analysis> target. All output generated in <logs>\analysis dir.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
122 |
print "Failed:\t$bldinf\n"; |
4f54ca96b7e8
Add build analysis tools to <sf-run-analysis> target. All output generated in <logs>\analysis dir.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
123 |
} |
4f54ca96b7e8
Add build analysis tools to <sf-run-analysis> target. All output generated in <logs>\analysis dir.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
124 |