Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2199)

Unified Diff: Tools/Scripts/check-dom-results

Issue 20652002: Fix trailing whitespace in scripts and misc. files (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Don't change literal diff. Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Tools/Scripts/bisect-builds ('k') | Tools/Scripts/check-for-exit-time-destructors » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Tools/Scripts/check-dom-results
diff --git a/Tools/Scripts/check-dom-results b/Tools/Scripts/check-dom-results
index 0b324069718fa88749212e4cd4b918802b931b74..de4f77d63f6a0506d3ab363629f53a5c2ee8606f 100755
--- a/Tools/Scripts/check-dom-results
+++ b/Tools/Scripts/check-dom-results
@@ -7,13 +7,13 @@
# are met:
#
# 1. Redistributions of source code must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
+# notice, this list of conditions and the following disclaimer.
# 2. Redistributions in binary form must reproduce the above copyright
# notice, this list of conditions and the following disclaimer in the
-# documentation and/or other materials provided with the distribution.
+# documentation and/or other materials provided with the distribution.
# 3. Neither the name of Apple Computer, Inc. ("Apple") nor the names of
# its contributors may be used to endorse or promote products derived
-# from this software without specific prior written permission.
+# from this software without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY APPLE AND ITS CONTRIBUTORS "AS IS" AND ANY
# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
@@ -91,7 +91,7 @@ foreach my $suite (@suites) {
my $successCount = $count - $failureCount - $disabledCount;
my $percentage = (sprintf "%.1f", ($successCount * 100.0 / $count));
-
+
if ($percentage == 100) {
print "${name}: all ${count} tests succeeded";
} else {
@@ -103,7 +103,7 @@ foreach my $suite (@suites) {
print "\n";
if (@disabled) {
print " Disabled:\n";
-
+
foreach my $failure (sort @disabled) {
$failure =~ s|.*/||;
$failure =~ s|-disabled||;
@@ -112,7 +112,7 @@ foreach my $suite (@suites) {
}
if (@failures) {
print " Failed:\n";
-
+
foreach my $failure (sort @failures) {
$directory =~ m|^dom/(\w+)|;
my $extension = $1;
« no previous file with comments | « Tools/Scripts/bisect-builds ('k') | Tools/Scripts/check-for-exit-time-destructors » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698