<feed xmlns='http://www.w3.org/2005/Atom'>
<title>catch3/include/internal/catch_run_context.h, branch v2.13.5</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>Significantly refactor fatal error handling</title>
<updated>2021-04-04T16:09:26+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2021-03-27T16:54:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=8f277a54c0b9c1d1024dedcb2dec1d206971e745'/>
<id>8f277a54c0b9c1d1024dedcb2dec1d206971e745</id>
<content type='text'>
Because new glibc has changed `MINSIGSTKSZ` to be a syscall instead
of being constant, the signal posix handling needed changes, as it
used the value in constexpr context, for deciding size of an array.
It would be simple to fix it by having the handler determine the
signal handling stack size and allocate the memory every time the
handler is being installed, but that would add another allocation
and a syscall every time a test case is entered.

Instead, I split apart the idea of preparing fatal error handlers,
and engaging them, so that the memory can be allocated only once
and still be guarded by RAII.

Also turns out that Catch2's use of `MINSIGSTKSZ` was wrong, and
we should've been using `SIGSTKSZ` the whole time, which we use now.

Closes #2178
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Because new glibc has changed `MINSIGSTKSZ` to be a syscall instead
of being constant, the signal posix handling needed changes, as it
used the value in constexpr context, for deciding size of an array.
It would be simple to fix it by having the handler determine the
signal handling stack size and allocate the memory every time the
handler is being installed, but that would add another allocation
and a syscall every time a test case is entered.

Instead, I split apart the idea of preparing fatal error handlers,
and engaging them, so that the memory can be allocated only once
and still be guarded by RAII.

Also turns out that Catch2's use of `MINSIGSTKSZ` was wrong, and
we should've been using `SIGSTKSZ` the whole time, which we use now.

Closes #2178
</pre>
</div>
</content>
</entry>
<entry>
<title>Improved generator tracking</title>
<updated>2020-06-01T17:06:51+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2020-06-01T17:04:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=9500ded83b66ea02472833684135ab8573da5e2d'/>
<id>9500ded83b66ea02472833684135ab8573da5e2d</id>
<content type='text'>
* Successive executions of the same `GENERATE` macro (e.g. because
of a for loop) no longer lead to multiple nested generators.
* The same line can now contain multiple `GENERATE` macros without
issues.

Fixes #1913
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Successive executions of the same `GENERATE` macro (e.g. because
of a for loop) no longer lead to multiple nested generators.
* The same line can now contain multiple `GENERATE` macros without
issues.

Fixes #1913
</pre>
</div>
</content>
</entry>
<entry>
<title>Introduce Catch's own RNG based on the PCG family of RNGs</title>
<updated>2019-10-07T17:56:23+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2019-10-06T19:47:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=535da5c5132bcbba6f29c60ed6bb7ded29b9ec3e'/>
<id>535da5c5132bcbba6f29c60ed6bb7ded29b9ec3e</id>
<content type='text'>
In the future, we will also want to introduce our own
`uniform_int_distribution` and `uniform_real_distribution` to get
repeatable test runs across different platforms.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In the future, we will also want to introduce our own
`uniform_int_distribution` and `uniform_real_distribution` to get
repeatable test runs across different platforms.
</pre>
</div>
</content>
</entry>
<entry>
<title>Various improvements to the benchmarking support</title>
<updated>2019-06-06T19:28:56+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2019-05-19T18:54:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=e340ab8db6dbe07a58b6e72a9364d67d2178293c'/>
<id>e340ab8db6dbe07a58b6e72a9364d67d2178293c</id>
<content type='text'>
* Units from &lt;ratio&gt; are no longer redeclared in our own namespace
* The default clock is `steady_clock`, not `high_resolution_clock`,
because, as HH says "high_resolution_clock is useless. If you want
measure the passing of time, use steady_clock. If you want user
friendly time, use system_clock".
* Benchmarking support is opt-in, not opt-out, to avoid the large
(~10%) compile time penalty.
* Benchmarking-related options in CLI are always present, to decrease
the amount of code that is only compiled conditionally and making
the whole shebang more maintainble.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Units from &lt;ratio&gt; are no longer redeclared in our own namespace
* The default clock is `steady_clock`, not `high_resolution_clock`,
because, as HH says "high_resolution_clock is useless. If you want
measure the passing of time, use steady_clock. If you want user
friendly time, use system_clock".
* Benchmarking support is opt-in, not opt-out, to avoid the large
(~10%) compile time penalty.
* Benchmarking-related options in CLI are always present, to decrease
the amount of code that is only compiled conditionally and making
the whole shebang more maintainble.
</pre>
</div>
</content>
</entry>
<entry>
<title>Integrate Nonius benchmark into Catch2</title>
<updated>2019-06-06T17:33:37+00:00</updated>
<author>
<name>Joachim Meyer</name>
</author>
<published>2019-04-23T21:41:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=ce2560ca956c1743f8bc871e0bf95f65a3db887c'/>
<id>ce2560ca956c1743f8bc871e0bf95f65a3db887c</id>
<content type='text'>
Changes done to Nonius:
* Moved things into "Catch::Benchmark" namespace
* Benchmarks were integrated with `TEST_CASE`/`SECTION`/`GENERATE` macros
* Removed Nonius's parameters for benchmarks, Generators should be used instead
* Added relevant methods to the reporter interface (default-implemented, to avoid
breaking existing 3rd party reporters)
* Async processing is guarded with `_REENTRANT` macro for GCC/Clang, used by default
on MSVC
* Added a macro `CATCH_CONFIG_DISABLE_BENCHMARKING` that removes all traces of
benchmarking from Catch
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Changes done to Nonius:
* Moved things into "Catch::Benchmark" namespace
* Benchmarks were integrated with `TEST_CASE`/`SECTION`/`GENERATE` macros
* Removed Nonius's parameters for benchmarks, Generators should be used instead
* Added relevant methods to the reporter interface (default-implemented, to avoid
breaking existing 3rd party reporters)
* Async processing is guarded with `_REENTRANT` macro for GCC/Clang, used by default
on MSVC
* Added a macro `CATCH_CONFIG_DISABLE_BENCHMARKING` that removes all traces of
benchmarking from Catch
</pre>
</div>
</content>
</entry>
<entry>
<title>Add unscoped info functionality</title>
<updated>2019-03-06T21:04:35+00:00</updated>
<author>
<name>Omer Ozarslan</name>
</author>
<published>2019-02-01T15:11:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=99575b45db0ec0de2fb84b5e5cce7e93559387e5'/>
<id>99575b45db0ec0de2fb84b5e5cce7e93559387e5</id>
<content type='text'>
This adds UNSCOPED_INFO macro, creating a log message that is stored
until the end of next assertion or the end of test case, whichever comes
first. These messages are not scoped locally, unlike messages created by
INFO macro.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This adds UNSCOPED_INFO macro, creating a log message that is stored
until the end of next assertion or the end of test case, whichever comes
first. These messages are not scoped locally, unlike messages created by
INFO macro.
</pre>
</div>
</content>
</entry>
<entry>
<title>RunContext: Uninit Member</title>
<updated>2019-01-13T09:26:47+00:00</updated>
<author>
<name>Axel Huebl</name>
</author>
<published>2019-01-07T17:55:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=47602ac5569b77ad1781f8a257451b05fe180844'/>
<id>47602ac5569b77ad1781f8a257451b05fe180844</id>
<content type='text'>
Fix an uninitialized member in `RunContext`.

Found with coverity in a downstream project.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix an uninitialized member in `RunContext`.

Found with coverity in a downstream project.
</pre>
</div>
</content>
</entry>
<entry>
<title>First attempt at data generator support</title>
<updated>2018-08-24T11:31:51+00:00</updated>
<author>
<name>Phil Nash</name>
</author>
<published>2018-06-12T16:50:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=7c25dae9ea7b669430103d29cd262abb0842f4e5'/>
<id>7c25dae9ea7b669430103d29cd262abb0842f4e5</id>
<content type='text'>
The support is to be considered experimental, that is, the interfaces,
the first party generators and helper functions can change or be removed
at any point in time.

Related to #850
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The support is to be considered experimental, that is, the interfaces,
the first party generators and helper functions can change or be removed
at any point in time.

Related to #850
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix clang-tidy 6 diagnostic about virtual call in destructor</title>
<updated>2018-03-21T16:05:15+00:00</updated>
<author>
<name>Zsolt Parragi</name>
</author>
<published>2018-03-15T20:23:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=886d799b79ca7873913fc3bb048db3b6a64dc47b'/>
<id>886d799b79ca7873913fc3bb048db3b6a64dc47b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Refactored StreamRedirect classes</title>
<updated>2017-12-05T23:19:28+00:00</updated>
<author>
<name>Phil Nash</name>
</author>
<published>2017-12-05T23:19:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=aa9d635014c3ab321fe65bd59c50fa71d6a86583'/>
<id>aa9d635014c3ab321fe65bd59c50fa71d6a86583</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
