<feed xmlns='http://www.w3.org/2005/Atom'>
<title>catch3/contrib/CatchAddTests.cmake, branch v2.13.8</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>fixed inconsistent semicolon expansion in catch_discover_tests (Bug #2214)</title>
<updated>2021-04-16T15:26:08+00:00</updated>
<author>
<name>Georg Schwab</name>
</author>
<published>2021-04-14T06:35:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=86a4d704bcf1003f1726957c22f9eb9905f021aa'/>
<id>86a4d704bcf1003f1726957c22f9eb9905f021aa</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add WORKING_DIRECTORY to CatchAddTests.cmake commands</title>
<updated>2020-10-02T21:29:40+00:00</updated>
<author>
<name>Rémy Salim</name>
</author>
<published>2020-10-01T09:23:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=44900d5371a7595cc43316725f00f7ff41bfc1b7'/>
<id>44900d5371a7595cc43316725f00f7ff41bfc1b7</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add REPORTER and OUTPUT_* args</title>
<updated>2020-09-23T17:12:06+00:00</updated>
<author>
<name>Martin Stump</name>
</author>
<published>2020-09-12T09:12:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=eadf4e32b653bc59aa10f9f521f318a7de1d73ba'/>
<id>eadf4e32b653bc59aa10f9f521f318a7de1d73ba</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix CTest command issue with square brackets</title>
<updated>2019-07-21T14:29:46+00:00</updated>
<author>
<name>Steven Franzen</name>
</author>
<published>2019-07-21T14:29:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=2aed6233cf38d24267184274264f84b4a8d43bc6'/>
<id>2aed6233cf38d24267184274264f84b4a8d43bc6</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Rollback ctest labels in CatchAddTests.cmake</title>
<updated>2019-06-17T17:17:32+00:00</updated>
<author>
<name>Justin Bassett</name>
</author>
<published>2019-06-07T03:10:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=80af9ca6870c14b049ff9bff233c9b5a87ac19bb'/>
<id>80af9ca6870c14b049ff9bff233c9b5a87ac19bb</id>
<content type='text'>
Parsing --list-tests is broken, as Catch automatically line wraps the
line when it gets too long, stripping any whitespace in the process.
This means that it's impossible to reproduce the exact name of the
test if the test's name is long enough to line-wrap.

Furthermore, overwriting the LABELS property with the discovered labels
breaks users who manually added custom ctest labels.

Rolling back to using --list-test-names-only for now, as it does not
wrap lines even on very long test names.

We may be able parse the output of --list-tags to produce the ctest labels.
However, the straightforward way of doing this is to use CMake's
get_property(TEST ...) and set_property(TEST ... APPEND ...), which don't
work if the test name has spaces or other special characters. We would
need to mangle the test name to a valid CMake identifier to do it that way.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Parsing --list-tests is broken, as Catch automatically line wraps the
line when it gets too long, stripping any whitespace in the process.
This means that it's impossible to reproduce the exact name of the
test if the test's name is long enough to line-wrap.

Furthermore, overwriting the LABELS property with the discovered labels
breaks users who manually added custom ctest labels.

Rolling back to using --list-test-names-only for now, as it does not
wrap lines even on very long test names.

We may be able parse the output of --list-tags to produce the ctest labels.
However, the straightforward way of doing this is to use CMake's
get_property(TEST ...) and set_property(TEST ... APPEND ...), which don't
work if the test name has spaces or other special characters. We would
need to mangle the test name to a valid CMake identifier to do it that way.
</pre>
</div>
</content>
</entry>
<entry>
<title>CatchAddTests now adds tags as labels for ctest</title>
<updated>2019-04-14T16:59:53+00:00</updated>
<author>
<name>Maciej Patro</name>
</author>
<published>2019-04-13T13:47:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=d4eec016a9df54a560d82e5ee12aef42822525e7'/>
<id>d4eec016a9df54a560d82e5ee12aef42822525e7</id>
<content type='text'>
- `ctest --print-labels` now will show list of available labels
- `ctest -L &lt;regex&gt;` will allow to run tests with given labels(tags)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- `ctest --print-labels` now will show list of available labels
- `ctest -L &lt;regex&gt;` will allow to run tests with given labels(tags)
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix catch_discover_tests() - now should correctly find tests with commas | Related to #1327</title>
<updated>2018-10-16T14:06:31+00:00</updated>
<author>
<name>Maciej Patro</name>
</author>
<published>2018-10-14T15:18:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=0144ae9ad2c6543fef50bba206f65edf947b55d1'/>
<id>0144ae9ad2c6543fef50bba206f65edf947b55d1</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>do not strip spaces from cmake discovered test names</title>
<updated>2018-05-09T16:00:05+00:00</updated>
<author>
<name>Markus Reitboeck</name>
</author>
<published>2018-05-07T20:52:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=6496c51c95d414046e45d162fb09496370dbac03'/>
<id>6496c51c95d414046e45d162fb09496370dbac03</id>
<content type='text'>
this fixes #1265
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
this fixes #1265
</pre>
</div>
</content>
</entry>
<entry>
<title>Catch ``catch_discover_tests``</title>
<updated>2018-01-11T20:17:12+00:00</updated>
<author>
<name>garethsb-sony</name>
</author>
<published>2017-12-19T12:26:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=3d7104c124e3af88eda573f867f79d0aa9ef6c72'/>
<id>3d7104c124e3af88eda573f867f79d0aa9ef6c72</id>
<content type='text'>
Copied from [Dynamic Catch test discovery in CMake](https://gist.github.com/garethsb/a01ed0dbd4977d439c16200640549935), which was inspired by [Dynamic Google Test Discovery in CMake 3.10](https://blog.kitware.com/dynamic-google-test-discovery-in-cmake-3-10/).

Original source code:

- Adapted by [Gareth Sylvester-Bradley](https://github.com/garethsb) from [GoogleTest ``gtest_discover_tests``](https://gitlab.kitware.com/cmake/cmake/merge_requests/1056).
- BSD 3-clause "New" or "Revised" License.
- Copyright 2000-2017 Kitware, Inc. and Contributors. All rights reserved.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Copied from [Dynamic Catch test discovery in CMake](https://gist.github.com/garethsb/a01ed0dbd4977d439c16200640549935), which was inspired by [Dynamic Google Test Discovery in CMake 3.10](https://blog.kitware.com/dynamic-google-test-discovery-in-cmake-3-10/).

Original source code:

- Adapted by [Gareth Sylvester-Bradley](https://github.com/garethsb) from [GoogleTest ``gtest_discover_tests``](https://gitlab.kitware.com/cmake/cmake/merge_requests/1056).
- BSD 3-clause "New" or "Revised" License.
- Copyright 2000-2017 Kitware, Inc. and Contributors. All rights reserved.
</pre>
</div>
</content>
</entry>
</feed>
