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

Side by Side Diff: test/cctest/cctest.cc

Issue 21011: Fix lint error. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 11 years, 10 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2008 the V8 project authors. All rights reserved. 1 // Copyright 2008 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 enabled_ = enabled; 56 enabled_ = enabled;
57 prev_ = last_; 57 prev_ = last_;
58 last_ = this; 58 last_ = this;
59 } 59 }
60 60
61 61
62 static void PrintTestList(CcTest* current) { 62 static void PrintTestList(CcTest* current) {
63 if (current == NULL) return; 63 if (current == NULL) return;
64 PrintTestList(current->prev()); 64 PrintTestList(current->prev());
65 if (current->dependency() != NULL) { 65 if (current->dependency() != NULL) {
66 printf("%s/%s<%s\n", current->file(), current->name(), current->dependency() ); 66 printf("%s/%s<%s\n",
67 current->file(), current->name(), current->dependency());
67 } else { 68 } else {
68 printf("%s/%s<\n", current->file(), current->name()); 69 printf("%s/%s<\n", current->file(), current->name());
69 } 70 }
70 } 71 }
71 72
72 73
73 int main(int argc, char* argv[]) { 74 int main(int argc, char* argv[]) {
74 v8::internal::FlagList::SetFlagsFromCommandLine(&argc, argv, true); 75 v8::internal::FlagList::SetFlagsFromCommandLine(&argc, argv, true);
75 int tests_run = 0; 76 int tests_run = 0;
76 bool print_run_count = true; 77 bool print_run_count = true;
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 test = test->prev(); 115 test = test->prev();
115 } 116 }
116 } 117 }
117 free(arg_copy); 118 free(arg_copy);
118 } 119 }
119 } 120 }
120 if (print_run_count && tests_run != 1) 121 if (print_run_count && tests_run != 1)
121 printf("Ran %i tests.\n", tests_run); 122 printf("Ran %i tests.\n", tests_run);
122 return 0; 123 return 0;
123 } 124 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698