Commit Graph

6618 Commits

Author SHA1 Message Date
Oli Scherer
01253437ea Pacify clippy 2022-07-11 12:21:02 +00:00
Oli Scherer
a64f9e7250 Remove error annotations stderr
they still showed up in multiline messages
2022-07-11 11:50:33 +00:00
Oli Scherer
f3496cbe4b require level and colon in //~ style comments 2022-07-11 11:48:56 +00:00
bors
97d115cd75 Auto merge of #2354 - Techie-Pi:patch-1, r=RalfJung
Fix README typo

"behaivours" -> "behaviours".
Just something I noticed while reading
2022-07-11 00:47:16 +00:00
bors
b994fea1f8 Auto merge of #2355 - RalfJung:rustup, r=RalfJung
make a test deterministic
2022-07-11 00:21:38 +00:00
Ralf Jung
444ba75ac5 make more tests deterministic 2022-07-10 20:21:19 -04:00
Ralf Jung
45abee46be make a test deterministic 2022-07-10 20:15:35 -04:00
TechiePi
bf5af84640
Fix README typo
"behaivours" -> "behaviours".
Just something I noticed while reading
2022-07-10 23:41:35 +02:00
bors
aada09f79a Auto merge of #2351 - RalfJung:readlink, r=RalfJung
extend a comment in readlink
2022-07-09 16:50:00 +00:00
Ralf Jung
c9b207eba6 extend a comment in readlink 2022-07-09 12:49:37 -04:00
bors
6bdc5d6f4c Auto merge of #2348 - RalfJung:ui-test, r=RalfJung
ui_test: require colon after command

Turns out we already use colons everywhere properly.

Also rename ui_test::comments to parser. I think that better describes its contents. :)
2022-07-09 11:51:32 +00:00
Ralf Jung
2850db9f6b
typo
Co-authored-by: Oli Scherer <github35764891676564198441@oli-obk.de>
2022-07-09 07:51:06 -04:00
Ralf Jung
d260dffa19 rename ui_test::comments → parser 2022-07-08 17:18:17 -04:00
Ralf Jung
fdffaf740b ui_test: require colon after command 2022-07-08 17:17:44 -04:00
bors
7a6a812794 Auto merge of #2332 - rust-lang:slash_slash_at, r=oli-obk
More robust comment parsing

fixes #2170

I haven't ported the entire test suite yet. Once we've done that, I will remove the old parsing system (or in fact, turn them into errors so that accidental usage of old-style comments will be detected)
2022-07-08 16:09:06 +00:00
Oli Scherer
6e106617f1 Port all tests 2022-07-08 16:08:32 +00:00
Oli Scherer
e4f7c6845c Hide regular backtrace information from user-facing errors 2022-07-08 15:55:37 +00:00
Oli Scherer
1597cec887 Documentation 2022-07-08 15:55:37 +00:00
Oli Scherer
334aa3d7f8 Add FIXME 2022-07-08 15:55:37 +00:00
Oli Scherer
af798232eb Rustfmt 2022-07-08 15:55:37 +00:00
Oli Scherer
9b71180e52 Create a proper normalization regex parser 2022-07-08 15:55:37 +00:00
Oli Scherer
bc07c19961 Explain tests::init function 2022-07-08 15:55:37 +00:00
Oli Scherer
a1e0d0df79 Add some comments 2022-07-08 15:55:37 +00:00
Oli Scherer
cc35d809c1 Remove an outdated comment 2022-07-08 15:55:37 +00:00
Oli Scherer
eab02b69e5 rustfmt 2022-07-08 15:55:37 +00:00
Oli Scherer
f15a56d9bc Implement a proper command parser...
... that grabs things from the front instead of splitting at spaces and colons and hoping for the best
2022-07-08 15:55:37 +00:00
Oli Scherer
63916d6f04 Document all the things 2022-07-08 15:55:37 +00:00
Oli Scherer
54b6b03410 Actually use eyre and get rid of the ad-hoc macros emulating error handling 2022-07-08 15:55:37 +00:00
Oli Scherer
570032b0dd Introduce a proper error handling framework 2022-07-08 15:55:37 +00:00
Oli Scherer
b3e64c252a Revert testing ui_test before ui tests 2022-07-08 15:55:37 +00:00
Oli Scherer
389915e09b Replace all //error-pattern comments with strict syntax and fix other comments in the same files 2022-07-08 15:55:37 +00:00
Oli Scherer
4bd4838c15 Implement strict comment parsing for ui tests 2022-07-08 15:27:09 +00:00
bors
cde87d1823 Auto merge of #2345 - RalfJung:rustup, r=RalfJung
rustup
2022-07-08 00:13:26 +00:00
Ralf Jung
23d1f1a5a3 rustup 2022-07-07 20:12:30 -04:00
bors
622963a2df Auto merge of #2343 - RalfJung:comment, r=RalfJung
fix comment in ./miri

pointed out in https://github.com/rust-lang/miri/pull/2288#discussion_r915445912
2022-07-07 12:20:53 +00:00
Ralf Jung
52abae6826 fix comment in ./miri 2022-07-07 08:20:24 -04:00
bors
e7025223db Auto merge of #2342 - RalfJung:dead-opt, r=RalfJung
remove a dead optimization

This became dead code when I removed "Untagged".
2022-07-07 11:43:38 +00:00
Ralf Jung
6b3986f44d remove a dead optimization 2022-07-07 07:42:31 -04:00
bors
64dec227bd Auto merge of #2314 - RalfJung:unsized, r=RalfJung
adjust for removed unsized_locals

The Miri side of https://github.com/rust-lang/rust/pull/98831
2022-07-07 02:55:28 +00:00
Ralf Jung
b6602f5d11 rustup 2022-07-06 22:55:12 -04:00
Ralf Jung
5fed3ebc26 adjust code for copy_op changes 2022-07-06 21:40:31 -04:00
Ralf Jung
e9176c747e test for better error location on stack pop 2022-07-06 21:40:31 -04:00
Ralf Jung
e5df0cc770 adjust tests for removal of unsized_locals 2022-07-06 21:40:31 -04:00
bors
4e4607bffc Auto merge of #2341 - RalfJung:rustup, r=RalfJung
rustup; ptr atomics

Adds support for the operations added in https://github.com/rust-lang/rust/pull/96935.
I made the pointer-binops always return the provenance of the *left* argument; `@thomcc` I hope that is what you intended. I have honestly no idea if it has anything to do with what LLVM does...

I also simplified our pointer comparison code while I was at it -- now that *all* comparison operators support wide pointers, we can unify those branches.
2022-07-07 01:40:22 +00:00
Ralf Jung
d5f1c26380 rustup; ptr atomics 2022-07-06 21:38:52 -04:00
bors
8c7114841c Auto merge of #2339 - RalfJung:rustup, r=RalfJung
rustup
2022-07-06 18:07:57 +00:00
Ralf Jung
501a6b4687 rustup 2022-07-06 14:06:15 -04:00
bors
7d5ae091cb Auto merge of #2338 - RalfJung:format, r=RalfJung
tweak format strings
2022-07-06 13:49:46 +00:00
Ralf Jung
907a003f14 tweak format strings 2022-07-06 09:47:48 -04:00
bors
36d8f5cbfc Auto merge of #2336 - RalfJung:wide-ptr-compare, r=RalfJung
fix comparing wide raw pointers

Fixes https://github.com/rust-lang/rust/issues/96169

However I am not sure if these are the correct semantics. I'll wait for confirmation in that issue.
2022-07-06 12:16:25 +00:00