Martin Hořeňovský 765ac08f08
Fix potential infinite loops in generators combined with section filter
The problem was that under specific circumstances, namely that none
of their children progressed, `GeneratorTracker` will not progress.
This was changed recently, to allow for code like this, where a
`SECTION` follows a `GENERATE` at the same level:

```cpp
SECTION("A") {}
auto a = GENERATE(1, 2);
SECTION("B") {}
```

However, this interacted badly with `SECTION` filters (`-c foo`),
as they could deactivate all `SECTION`s below a generator, and thus
stop it from progressing forever. This commit makes GeneratorTracker
check whether there are any filters active, and if they are, it checks
whether its section-children can ever run.

Fixes #2025
2020-10-31 18:04:15 +01:00
..
2017-09-07 17:25:15 +02:00
2020-07-06 11:35:02 +02:00
2020-07-06 11:35:02 +02:00
2020-01-25 09:01:04 +01:00
2020-03-28 18:00:42 +01:00
2020-07-01 19:28:50 +02:00
2019-08-09 10:50:53 +02:00
2017-09-07 17:25:15 +02:00
2017-08-30 15:53:39 +02:00
2020-02-08 14:27:40 +01:00
2019-02-08 10:41:23 +01:00
2017-07-27 11:32:01 +02:00
2020-01-25 09:01:04 +01:00
2020-05-29 14:56:40 +02:00
2019-09-07 11:31:00 +02:00
2019-01-11 11:55:51 +01:00
2020-10-07 11:43:02 +02:00