]> git.lizzy.rs Git - rust.git/commit
Avoid possible filename collision in coverage tests
authorArpad Borsos <swatinem@swatinem.de>
Fri, 14 May 2021 09:04:48 +0000 (11:04 +0200)
committerArpad Borsos <swatinem@swatinem.de>
Mon, 14 Jun 2021 18:29:21 +0000 (20:29 +0200)
commit084794ed164199619d9bd6e5422b4feaee4a0a9a
treeef76b4c7c17639357e4da9faaaf5dbd060211f8c
parenta216131c3566858b78f45ccc0c36b5578f5c5155
Avoid possible filename collision in coverage tests

Previously, coverage tests were writing profiler data to files based on
their pid. As rustdoc spawns each doctest as its own process, it might
be possible in rare cases that a pid is being reused which would cause
a file to be overwritten, leading to incorrect coverage results.
src/test/run-make-fulldeps/coverage-reports/Makefile