| commit | f67efb64ab2ea0426e8e436da99be0ce5ea9ddf3 | [log] [tgz] |
|---|---|---|
| author | Ottmar Zittlau <ozteopat@gmx.net> | Tue Oct 21 06:34:18 2025 +0200 |
| committer | Brad King <brad.king@kitware.com> | Tue Oct 21 11:39:19 2025 -0400 |
| tree | 01f5fa4491571c61d48e773e25170eda4636b25c | |
| parent | b01cc7f7925fd13c6a9281610001fc475f8778eb [diff] |
GoogleTest: Restore support for empty discovered test list Since commit 1cdceae8e3 (GoogleTest: Parse discovered test list from JSON output if supported, 2025-05-02, v4.2.0-rc1~533^2~2) we've incorrectly tried to `return()` from a `macro()` when no tests are available. This led to the situation that a file that contains the test details was not properly overwritten but still indicated that the test target was not built. Fixes: #27319