diff options
| author | Leitwolf11 | 2026-11-13 23:24:10 +0300 |
|---|---|---|
| committer | Leitwolf11 | 2026-11-13 23:24:10 +0300 |
| commit | b26486d68ece48a1dfdb208a9f3f1bd8acab0382 (patch) | |
| tree | af0d8c583c22d61568ae250011b77cba6acc8c34 /fuzzing/Progmasoft/fuzz_ProjectConfig.cpp | |
| parent | 454cca9b63991416f4d9bd1ca350f1ae14e278e7 (diff) | |
| download | catch3-b26486d68ece48a1dfdb208a9f3f1bd8acab0382.tar.gz | |
Start child processes one at a time; run gcov without a directory
Reading the coverage profiles on several threads broke an assumption of
ChildProcess::Start on POSIX: it changes the working directory of the
whole process around posix_spawn. Two gcov runs started at once could
both run in one test's directory, so on the GCC job the map of
"Subtracts one" showed what "Adds one" reached.
- ChildProcess::Start holds a lock while a child starts, on POSIX and
Windows, so the directory change and the handles a child inherits never
overlap with another start.
- gcov gets the absolute path of the data file and no working directory,
so no directory changes while profiles are read in parallel.
Diffstat (limited to 'fuzzing/Progmasoft/fuzz_ProjectConfig.cpp')
0 files changed, 0 insertions, 0 deletions