| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 "base/test/test_launcher.h" | 5 #include "base/test/test_launcher.h" |
| 6 | 6 |
| 7 #if defined(OS_POSIX) | 7 #if defined(OS_POSIX) |
| 8 #include <fcntl.h> | 8 #include <fcntl.h> |
| 9 #endif | 9 #endif |
| 10 | 10 |
| (...skipping 537 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 548 total_shards, | 548 total_shards, |
| 549 shard_index, | 549 shard_index, |
| 550 new_cycles, | 550 new_cycles, |
| 551 exit_code))); | 551 exit_code))); |
| 552 } | 552 } |
| 553 | 553 |
| 554 | 554 |
| 555 } // namespace | 555 } // namespace |
| 556 | 556 |
| 557 const char kGTestFilterFlag[] = "gtest_filter"; | 557 const char kGTestFilterFlag[] = "gtest_filter"; |
| 558 const char kGTestHelpFlag[] = "gtest_help"; |
| 558 const char kGTestListTestsFlag[] = "gtest_list_tests"; | 559 const char kGTestListTestsFlag[] = "gtest_list_tests"; |
| 559 const char kGTestRepeatFlag[] = "gtest_repeat"; | 560 const char kGTestRepeatFlag[] = "gtest_repeat"; |
| 560 const char kGTestRunDisabledTestsFlag[] = "gtest_also_run_disabled_tests"; | 561 const char kGTestRunDisabledTestsFlag[] = "gtest_also_run_disabled_tests"; |
| 561 const char kGTestOutputFlag[] = "gtest_output"; | 562 const char kGTestOutputFlag[] = "gtest_output"; |
| 562 | 563 |
| 563 const char kHelpFlag[] = "help"; | 564 const char kHelpFlag[] = "help"; |
| 564 | 565 |
| 565 TestResult::TestResult() : status(TEST_UNKNOWN) { | 566 TestResult::TestResult() : status(TEST_UNKNOWN) { |
| 566 } | 567 } |
| 567 | 568 |
| (...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 721 cycles, | 722 cycles, |
| 722 &exit_code, | 723 &exit_code, |
| 723 true)); | 724 true)); |
| 724 | 725 |
| 725 MessageLoop::current()->Run(); | 726 MessageLoop::current()->Run(); |
| 726 | 727 |
| 727 return exit_code; | 728 return exit_code; |
| 728 } | 729 } |
| 729 | 730 |
| 730 } // namespace base | 731 } // namespace base |
| OLD | NEW |