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

Side by Side Diff: base/test/test_launcher.cc

Issue 23892020: GTTF: Make --help and --gtest_help behave correctly with --brave-new-test-launcher (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: flaky upload Created 7 years, 3 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 | « base/test/test_launcher.h ('k') | base/test/unit_test_launcher.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « base/test/test_launcher.h ('k') | base/test/unit_test_launcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698