<feed xmlns='http://www.w3.org/2005/Atom'>
<title>catch3/extras/CatchAddTests.cmake, branch v3.15.0</title>
<subtitle>Progmasoft Catch3: an independently maintained C++17 test framework with a parallel runner, property checks, snapshots and structured results.</subtitle>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/'/>
<entry>
<title>Fix catch_discover_tests PRE_TEST failure with zero discoverable tests</title>
<updated>2026-04-02T08:24:46+00:00</updated>
<author>
<name>Sung, Po Han</name>
</author>
<published>2026-03-02T09:28:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=f4e83daa184595cee80a8d37f145cb5d6b9b21ba'/>
<id>f4e83daa184595cee80a8d37f145cb5d6b9b21ba</id>
<content type='text'>
When using catch_discover_tests() with DISCOVERY_MODE PRE_TEST and a
multi-config generator (e.g. Ninja Multi-Config), if a test target has
zero discoverable tests (e.g. all tests tagged with [.]), ctest fails:

  CMake Error: include could not find requested file:
    .../test-hidden-b12d07c_tests-Release.cmake

The early return added in #2962 (76f70b14) correctly prevented a JSON
parsing crash for zero tests, but skipped writing the ctest file. The
PRE_TEST include script unconditionally includes this file, so the
missing file causes a hard error that aborts all test discovery.

Write an empty file before returning early so the include always
succeeds.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When using catch_discover_tests() with DISCOVERY_MODE PRE_TEST and a
multi-config generator (e.g. Ninja Multi-Config), if a test target has
zero discoverable tests (e.g. all tests tagged with [.]), ctest fails:

  CMake Error: include could not find requested file:
    .../test-hidden-b12d07c_tests-Release.cmake

The early return added in #2962 (76f70b14) correctly prevented a JSON
parsing crash for zero tests, but skipped writing the ctest file. The
PRE_TEST include script unconditionally includes this file, so the
missing file causes a hard error that aborts all test discovery.

Write an empty file before returning early so the include always
succeeds.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix formatting of CMake files</title>
<updated>2025-04-26T16:38:36+00:00</updated>
<author>
<name>Chris Thrasher</name>
</author>
<published>2025-04-08T04:09:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=8cfca70ae879ba59699b224e8d371b8bb9fa12ff'/>
<id>8cfca70ae879ba59699b224e8d371b8bb9fa12ff</id>
<content type='text'>
2 spaces seems to be the more common indentation level so that's what
I unified around.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
2 spaces seems to be the more common indentation level so that's what
I unified around.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix bug where `catch_discover_tests` fails when no `TEST_CASE`s are present</title>
<updated>2025-03-12T20:03:56+00:00</updated>
<author>
<name>Chris Thrasher</name>
</author>
<published>2025-03-12T02:37:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=76f70b1403dbc0781216f49e20e45b71f7eccdd8'/>
<id>76f70b1403dbc0781216f49e20e45b71f7eccdd8</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Support adding test tags as CTest labels in catch_discover_tests</title>
<updated>2025-01-05T19:02:00+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2025-01-03T09:30:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=7d7b2f89f24cbd277f6eb6912705e5e13c68a3c7'/>
<id>7d7b2f89f24cbd277f6eb6912705e5e13c68a3c7</id>
<content type='text'>
We also bump the minimum CMake version to 3.20 as per #2943
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We also bump the minimum CMake version to 3.20 as per #2943
</pre>
</div>
</content>
</entry>
<entry>
<title>Properly handle prepending user-specified paths to DYLD_FRAMEWORK_PATH</title>
<updated>2024-08-13T21:05:21+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2024-08-13T21:05:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=a579b5f6406b13a56cb766365278a19663092d88'/>
<id>a579b5f6406b13a56cb766365278a19663092d88</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Respect path order of DL_PATHS in catch_discover_tests function</title>
<updated>2024-08-13T20:23:16+00:00</updated>
<author>
<name>Chien-Yu Lin</name>
</author>
<published>2024-06-21T06:36:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=1538be67cb8a8b85fd3d5e7e569e46db75f8e284'/>
<id>1538be67cb8a8b85fd3d5e7e569e46db75f8e284</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add optional argument to catch_discover_tests to set DYLD_FRAMEWORK_PATH (#2880)</title>
<updated>2024-07-22T17:25:24+00:00</updated>
<author>
<name>Andy Phillips</name>
</author>
<published>2024-07-22T17:25:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=85b7f3d6abbf11cfde34e274180a5539d2ac8bfe'/>
<id>85b7f3d6abbf11cfde34e274180a5539d2ac8bfe</id>
<content type='text'>
* Added optional argument to catch_discover_tests to set the DYLD_FRAMEWORK_PATH environment variable on Apple platforms.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Added optional argument to catch_discover_tests to set the DYLD_FRAMEWORK_PATH environment variable on Apple platforms.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix `TEST_DL_PATHS` to be multi-args</title>
<updated>2024-03-26T17:04:17+00:00</updated>
<author>
<name>Cristian Le</name>
</author>
<published>2024-02-26T10:09:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=202bdee9770da4fd4bd6d2f2da683aae1f5f18e5'/>
<id>202bdee9770da4fd4bd6d2f2da683aae1f5f18e5</id>
<content type='text'>
Signed-off-by: Cristian Le &lt;cristian.le@mpsd.mpg.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Cristian Le &lt;cristian.le@mpsd.mpg.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>correct argument references in CatchAddTests.cmake</title>
<updated>2023-09-20T13:47:11+00:00</updated>
<author>
<name>Ilya Arzhannikov</name>
</author>
<published>2023-09-20T13:47:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=db495acdbbea9f078bb8fe300724a658beb5b540'/>
<id>db495acdbbea9f078bb8fe300724a658beb5b540</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix handling of semicolon and backslash characters in CMake test discovery (#2676)</title>
<updated>2023-06-14T21:40:10+00:00</updated>
<author>
<name>Robin Christ</name>
</author>
<published>2023-06-14T21:40:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=42ee66b5e625b7ed43727e3617af58ca8fad4a12'/>
<id>42ee66b5e625b7ed43727e3617af58ca8fad4a12</id>
<content type='text'>
This PR fixes the handling of semicolon and backslash characters in test names in the CMake test discovery

Closes #2674 </content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This PR fixes the handling of semicolon and backslash characters in test names in the CMake test discovery

Closes #2674 </pre>
</div>
</content>
</entry>
</feed>
