[llvm-commits] CVS: nightlytest-serverside/NightlyTestAccept.cgi
Patrick Jenkins
pjenkins at apple.com
Thu Jul 27 17:55:02 PDT 2006
Changes in directory nightlytest-serverside:
NightlyTestAccept.cgi updated: 1.35 -> 1.36
---
Log message:
Modified the search through the dejagnu logs for the number of unexpected failures
---
Diffs of the changes: (+13 -8)
NightlyTestAccept.cgi | 21 +++++++++++++--------
1 files changed, 13 insertions(+), 8 deletions(-)
Index: nightlytest-serverside/NightlyTestAccept.cgi
diff -u nightlytest-serverside/NightlyTestAccept.cgi:1.35 nightlytest-serverside/NightlyTestAccept.cgi:1.36
--- nightlytest-serverside/NightlyTestAccept.cgi:1.35 Thu Jul 27 16:12:36 2006
+++ nightlytest-serverside/NightlyTestAccept.cgi Thu Jul 27 19:54:48 2006
@@ -511,7 +511,7 @@
$dejagnutests_log =~ m/\# of expected passes\s*([0-9]+)/;
$dejagnu_exp_passes=$1;
-$dejagnutests_log =~ m/\# of unexpected failures\s*([0-9]+)/;
+$dejagnutests_log =~ m/unexpected failures\s*([0-9]+)/;
$dejagnu_unexp_failures=$1;
$dejagnutests_log =~ m/\# of expected failures\s*([0-9]+)/;
$dejagnu_exp_failures=$1;
@@ -638,17 +638,22 @@
AddProgram $x, $external_processed{$x}, "external", $night_id;
}
-foreach $x (@O_FILE_SIZE){
- $x =~ m/(.+)\s+(.+)\s+(.+)/;
- AddFile $2, $1, $night_id, $3;
+$len=@AOFILE_SIZE;
+if($len>1){
+ foreach $x (@O_FILE_SIZE){
+ $x =~ m/(.+)\s+(.+)\s+(.+)/;
+ AddFile $2, $1, $night_id, $3;
+ }
}
-foreach $x (@A_FILE_SIZE){
- $x =~ m/(.+)\s+(.+)\s+(.+)/;
- AddFile $2, $1, $night_id, $3;
+$len=@A_FILE_SIZE;
+if($len>1){
+ foreach $x (@A_FILE_SIZE){
+ $x =~ m/(.+)\s+(.+)\s+(.+)/;
+ AddFile $2, $1, $night_id, $3;
+ }
}
-
################################################################################
#
# Adding lines of code
More information about the llvm-commits
mailing list