<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/tests/run-coverage/closure.coverage, branch master</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=master</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=master'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2023-11-07T00:15:19+00:00</updated>
<entry>
<title>coverage: Migrate `tests/run-coverage` into `tests/coverage`</title>
<updated>2023-11-07T00:15:19+00:00</updated>
<author>
<name>Zalathar</name>
<email>Zalathar@users.noreply.github.com</email>
</author>
<published>2023-11-01T10:26:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=e9d04c5e2444526ffde83662f2d57fa35c772891'/>
<id>urn:sha1:e9d04c5e2444526ffde83662f2d57fa35c772891</id>
<content type='text'>
</content>
</entry>
<entry>
<title>coverage: Fix an unstable-sort inconsistency in coverage spans</title>
<updated>2023-09-18T11:28:56+00:00</updated>
<author>
<name>Zalathar</name>
<email>Zalathar@users.noreply.github.com</email>
</author>
<published>2023-09-18T11:11:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=4690f97099c2f01a07a8fa272e94e3e5cba61f12'/>
<id>urn:sha1:4690f97099c2f01a07a8fa272e94e3e5cba61f12</id>
<content type='text'>
This code was calling `sort_unstable_by`, but failed to impose a total order on
the initial spans. That resulted in unpredictable handling of closure spans,
producing inconsistencies in the coverage maps and in user-visible coverage
reports.

This patch fixes the problem by always sorting closure spans before
otherwise-identical non-closure spans, and also switches to a stable sort in
case the ordering is still not total.
</content>
</entry>
<entry>
<title>Various trivial formatting fixes in `run-coverage` tests</title>
<updated>2023-08-26T04:35:34+00:00</updated>
<author>
<name>Zalathar</name>
<email>Zalathar@users.noreply.github.com</email>
</author>
<published>2023-08-17T01:43:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=8d91e71e9a015c864b29725ec9430c5db4325cf4'/>
<id>urn:sha1:8d91e71e9a015c864b29725ec9430c5db4325cf4</id>
<content type='text'>
These changes were made by manually running `rustfmt` on all of the test files,
and then manually undoing all cases where the original formatting appeared to
have been deliberate.

  `rustfmt +nightly --config-path=/dev/null --edition=2021 tests/run-coverage*/**/*.rs`
</content>
</entry>
<entry>
<title>Tidy up some awkwardly-placed comments in tests</title>
<updated>2023-08-26T04:35:34+00:00</updated>
<author>
<name>Zalathar</name>
<email>Zalathar@users.noreply.github.com</email>
</author>
<published>2023-08-17T01:32:33+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=4da38c31d21347fe7800c4263cb34a8c9e62d0fb'/>
<id>urn:sha1:4da38c31d21347fe7800c4263cb34a8c9e62d0fb</id>
<content type='text'>
Prior to #114875, these tests were very sensitive to lines being added/removed,
so the migration to `run-coverage` in #112300 tried hard to avoid disturbing
the existing line numbers. That resulted in some awkward reshuffling when
certain comments/directives needed to be added or moved.

Now that we don't have to worry about preserving line numbers, we can rearrange
those comments into a more conventional layout.
</content>
</entry>
<entry>
<title>coverage: Anonymize line numbers in `run-coverage` test snapshots</title>
<updated>2023-08-17T00:03:32+00:00</updated>
<author>
<name>Zalathar</name>
<email>Zalathar@users.noreply.github.com</email>
</author>
<published>2023-08-16T02:42:33+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=bfb16545a3bbb602756710000acac3ac8acd5186'/>
<id>urn:sha1:bfb16545a3bbb602756710000acac3ac8acd5186</id>
<content type='text'>
This makes the test snapshots less sensitive to lines being added/removed.
</content>
</entry>
<entry>
<title>Migrate most of the existing coverage tests over to `run-coverage`</title>
<updated>2023-06-28T01:09:19+00:00</updated>
<author>
<name>Zalathar</name>
<email>Zalathar@users.noreply.github.com</email>
</author>
<published>2023-06-12T08:07:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=e0625b4586c5a0f855a1157b09ae384f5de0ecf7'/>
<id>urn:sha1:e0625b4586c5a0f855a1157b09ae384f5de0ecf7</id>
<content type='text'>
</content>
</entry>
</feed>
