<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/tests/run-make/libtest-padding/test.stdout, branch try</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=try</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=try'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2023-12-07T18:24:58+00:00</updated>
<entry>
<title>libtest: Fix padding of benchmarks run as tests</title>
<updated>2023-12-07T18:24:58+00:00</updated>
<author>
<name>Martin Nordholts</name>
<email>martin.nordholts@codetale.se</email>
</author>
<published>2023-12-02T17:24:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=12e6bcfcabee7bfa9130bb5fcd4b8ab23172b1ee'/>
<id>urn:sha1:12e6bcfcabee7bfa9130bb5fcd4b8ab23172b1ee</id>
<content type='text'>
Before this fix we applied padding before manually doing what
`convert_benchmarks_to_tests()` does. Instead use
`convert_benchmarks_to_tests()` if applicable and then apply padding
afterwards so it becomes correct. (Benches should only be padded when
run as benches to make it easy to compare the benchmark numbers.)
</content>
</entry>
<entry>
<title>libtest: Add regression tests for padding</title>
<updated>2023-12-02T19:38:41+00:00</updated>
<author>
<name>Martin Nordholts</name>
<email>martin.nordholts@codetale.se</email>
</author>
<published>2023-12-02T18:15:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=4db40579baa1d69116e3ce7863951e36d1ddf425'/>
<id>urn:sha1:4db40579baa1d69116e3ce7863951e36d1ddf425</id>
<content type='text'>
As you can see the padding is wrong when running benches as tests. This
will be fixed in the next commit. (Benches should only be padded when
run as benches to make it easy to compare the benchmark numbers.)
</content>
</entry>
</feed>
