| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 6da6ca7 commit 2b8f1f2
2 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -2411,9 +2411,7 @@ using StringView = ::std::string_view; | |||
| 2411 | 2411 | #define GTEST_INTERNAL_HAS_STRING_VIEW 0 | |
| 2412 | 2412 | #endif | |
| 2413 | 2413 | ||
| 2414 | - #if (defined(__cpp_lib_three_way_comparison) || \ | ||
| 2415 | - (GTEST_INTERNAL_HAS_INCLUDE(<compare>) && \ | ||
| 2416 | - GTEST_INTERNAL_CPLUSPLUS_LANG >= 201907L)) | ||
| 2414 | + #if defined(__cpp_lib_three_way_comparison) | ||
| 2417 | 2415 | #define GTEST_INTERNAL_HAS_COMPARE_LIB 1 | |
| 2418 | 2416 | #else | |
| 2419 | 2417 | #define GTEST_INTERNAL_HAS_COMPARE_LIB 0 | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -6732,6 +6732,12 @@ static const char kColorEncodedHelpMessage[] = | |||
| 6732 | 6732 | "recreate_environments_when_repeating@D\n" | |
| 6733 | 6733 | " Sets up and tears down the global test environment on each repeat\n" | |
| 6734 | 6734 | " of the test.\n" | |
| 6735 | + " @G--" GTEST_FLAG_PREFIX_ | ||
| 6736 | + "fail_fast@D\n" | ||
| 6737 | + " Stop running tests after the first failure.\n" | ||
| 6738 | + " @G--" GTEST_FLAG_PREFIX_ | ||
| 6739 | + "fail_if_no_test_linked@D\n" | ||
| 6740 | + " Fail if no test is linked into the test program.\n" | ||
| 6735 | 6741 | "\n" | |
| 6736 | 6742 | "Test Output:\n" | |
| 6737 | 6743 | " @G--" GTEST_FLAG_PREFIX_ | |
@@ -6744,6 +6750,9 @@ static const char kColorEncodedHelpMessage[] = | |||
| 6744 | 6750 | "print_time=0@D\n" | |
| 6745 | 6751 | " Don't print the elapsed time of each test.\n" | |
| 6746 | 6752 | " @G--" GTEST_FLAG_PREFIX_ | |
| 6753 | + "print_utf8=0@D\n" | ||
| 6754 | + " Don't print UTF-8 characters as text.\n" | ||
| 6755 | + " @G--" GTEST_FLAG_PREFIX_ | ||
| 6747 | 6756 | "output=@Y(@Gjson@Y|@Gxml@Y)[@G:@YDIRECTORY_PATH@G" GTEST_PATH_SEP_ | |
| 6748 | 6757 | "@Y|@G:@YFILE_PATH]@D\n" | |
| 6749 | 6758 | " Generate a JSON or XML report in the given directory or with the " | |
@@ -6760,6 +6769,9 @@ static const char kColorEncodedHelpMessage[] = | |||
| 6760 | 6769 | " @G--" GTEST_FLAG_PREFIX_ | |
| 6761 | 6770 | "death_test_style=@Y(@Gfast@Y|@Gthreadsafe@Y)@D\n" | |
| 6762 | 6771 | " Set the default death test style.\n" | |
| 6772 | + " @G--" GTEST_FLAG_PREFIX_ | ||
| 6773 | + "death_test_use_fork@D\n" | ||
| 6774 | + " Use fork() instead of clone() to spawn death test child processes.\n" | ||
| 6763 | 6775 | #endif // GTEST_HAS_DEATH_TEST && !GTEST_OS_WINDOWS | |
| 6764 | 6776 | " @G--" GTEST_FLAG_PREFIX_ | |
| 6765 | 6777 | "break_on_failure@D\n" | |
@@ -6772,6 +6784,9 @@ static const char kColorEncodedHelpMessage[] = | |||
| 6772 | 6784 | "catch_exceptions=0@D\n" | |
| 6773 | 6785 | " Do not report exceptions as test failures. Instead, allow them\n" | |
| 6774 | 6786 | " to crash the program or throw a pop-up (on Windows).\n" | |
| 6787 | + " @G--" GTEST_FLAG_PREFIX_ | ||
| 6788 | + "stack_trace_depth=@Y[NUMBER]@D\n" | ||
| 6789 | + " Maximum number of stack frames to print when an assertion fails.\n" | ||
| 6775 | 6790 | "\n" | |
| 6776 | 6791 | "Except for @G--" GTEST_FLAG_PREFIX_ | |
| 6777 | 6792 | "list_tests@D, you can alternatively set " | |
| Back | FazBrowse Home | New Git URL |
0 commit comments