OLD | NEW |
1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "build/build_config.h" | 5 #include "build/build_config.h" |
6 | 6 |
7 #if defined(OS_WIN) | 7 #if defined(OS_WIN) |
8 #include <windows.h> | 8 #include <windows.h> |
9 #elif defined(OS_POSIX) | 9 #elif defined(OS_POSIX) |
10 #include <sys/types.h> | 10 #include <sys/types.h> |
11 #include <unistd.h> | 11 #include <unistd.h> |
12 #endif | 12 #endif |
13 | 13 |
14 #include <stdio.h> | 14 #include <stdio.h> |
15 #include <iostream> | |
16 #include <string> | 15 #include <string> |
17 | 16 |
18 #include "ipc/ipc_tests.h" | 17 #include "ipc/ipc_tests.h" |
19 | 18 |
20 #include "base/at_exit.h" | 19 #include "base/at_exit.h" |
21 #include "base/base_switches.h" | 20 #include "base/base_switches.h" |
22 #include "base/command_line.h" | 21 #include "base/command_line.h" |
23 #include "base/debug_on_start.h" | 22 #include "base/debug_on_start.h" |
24 #if defined(OS_POSIX) | 23 #if defined(OS_POSIX) |
25 #include "base/at_exit.h" | 24 #include "base/at_exit.h" |
(...skipping 517 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
543 #endif // PERFORMANCE_TEST | 542 #endif // PERFORMANCE_TEST |
544 | 543 |
545 int main(int argc, char** argv) { | 544 int main(int argc, char** argv) { |
546 #ifdef PERFORMANCE_TEST | 545 #ifdef PERFORMANCE_TEST |
547 int retval = PerfTestSuite(argc, argv).Run(); | 546 int retval = PerfTestSuite(argc, argv).Run(); |
548 #else | 547 #else |
549 int retval = TestSuite(argc, argv).Run(); | 548 int retval = TestSuite(argc, argv).Run(); |
550 #endif | 549 #endif |
551 return retval; | 550 return retval; |
552 } | 551 } |
OLD | NEW |