David Pizzuto 28e9d1f267 googletest: Add a flag to fail if no tests were selected to run.
There are two cases that prompt this behavior:

- All test cases in the binary are disabled.

- There are more shards defined than test cases, so some shards are empty.

The result in each case is the same: the test runner needs to spin up
additional processes that do nothing, which is wasteful, especially when tests
need expensive resources.

PiperOrigin-RevId: 769176856
Change-Id: Ifa399a0b7b68e4add5a94ca148b32b2938a8666d
2025-06-09 09:31:09 -07:00
..
_data Googletest export 2021-06-02 17:55:09 -04:00
_layouts Updates Google Analytics tracker. 2025-05-22 12:37:05 -07:00
_sass Googletest export 2021-05-25 13:34:39 -04:00
assets/css Googletest export 2021-02-19 13:55:48 -05:00
reference Clarify that the return value of InvokeArgument is not the return value of the action. 2025-05-12 14:40:55 -07:00
_config.yml Googletest export 2021-02-19 13:55:48 -05:00
advanced.md googletest: Add a flag to fail if no tests were selected to run. 2025-06-09 09:31:09 -07:00
community_created_documentation.md Googletest export 2021-01-15 15:54:03 -05:00
faq.md Remove obsolete references to LinuxThreads. 2025-03-26 12:20:16 -07:00
gmock_cheat_sheet.md Adjust includes to use <> instead of "", consistent with quickstart pages. 2023-07-28 09:51:41 -07:00
gmock_cook_book.md Clarify the polymorphic matcher concept and explain how to define a composite matcher. 2025-03-11 12:04:28 -07:00
gmock_faq.md Fix reference to source file in gmock FAQ 2022-01-14 14:40:35 -08:00
gmock_for_dummies.md Add anchor for expectation ordering note 2024-02-13 13:55:04 -08:00
index.md Googletest export 2021-02-26 17:58:04 -05:00
pkgconfig.md cmake: Raise min to 3.6 2023-06-19 11:21:44 -06:00
platforms.md Copy supported platforms from README onto https://google.github.io/googletest/platforms.html 2023-06-01 07:28:42 -07:00
primer.md Update the links to ISTQB glossary. 2024-12-11 08:00:11 -08:00
quickstart-bazel.md Update documentation for v1.17.0 2025-04-30 10:11:59 -07:00
quickstart-cmake.md Update documentation for v1.17.0 2025-04-30 10:11:59 -07:00
samples.md Merge pull request #3918 from assafpr:master2main 2022-08-01 11:47:51 -07:00