Commit Graph

76 Commits

Author SHA1 Message Date
Ralf Jung 366d11b2d8 enable rustc lints
(but not in cargo-miri and ui_test)
2022-08-07 09:45:42 -04:00
Ralf Jung 87b9075920 avoid double-space in test logging 2022-08-02 18:27:06 -04:00
Ralf Jung 5c52a7695c ui_test: build dependencies in locked mode unless bless is enabled 2022-07-24 07:37:10 -04:00
Ralf Jung e286dfa7d3 don't force target-dir (cargo-miri already deconflicts that) 2022-07-21 14:08:07 -04:00
Ralf Jung 4030210aa1 we don't need unstable options 2022-07-21 14:08:07 -04:00
Ralf Jung d43e12e412 say what we are doing 2022-07-21 14:08:07 -04:00
Oli Scherer ecacc56843 Use names suggestive of channel endpoints 2022-07-21 07:39:54 +00:00
Oli Scherer 68041b42fc Print one character per test instead of one line 2022-07-21 07:35:49 +00:00
Oli Scherer 30931eeecb Add a dedicated thread for output printing 2022-07-21 07:35:49 +00:00
Oli Scherer ab6fb9d2aa Allow tests to have dependencies 2022-07-20 15:54:35 +00:00
Ralf Jung 9f9aa00f5d tweak failure output a little 2022-07-19 14:44:00 -04:00
Ralf Jung fb3ac74696 on an error, always print the unnormalized stderr 2022-07-19 14:40:17 -04:00
Ralf Jung 04b66ce342 update ui_test readme 2022-07-18 21:42:50 -04:00
Ralf Jung 090f289214 make an expect into proper error reporting 2022-07-17 21:57:56 -04:00
Ralf Jung 1c85975768 ui_test: more robust syntax for target filtering 2022-07-17 21:54:10 -04:00
Oli Scherer 8527bfc63b clippy 2022-07-17 08:07:26 +00:00
Oli Scherer 444841bba9 Add test flag for running a test only on the host 2022-07-17 07:56:57 +00:00
Oli Scherer 837bf84271 Error patterns can be regexes 2022-07-13 14:36:03 +00:00
Oli Scherer bfc23e2cdd Document require-annotations-for-level 2022-07-11 17:25:56 +00:00
Oli Scherer 1ca8d60734 Fix annotation filtering with revisions 2022-07-11 17:19:10 +00:00
Oli Scherer 01253437ea Pacify clippy 2022-07-11 12:21:02 +00:00
Oli Scherer f3496cbe4b require level and colon in //~ style comments 2022-07-11 11:48:56 +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
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 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 984b46cc7d Auto merge of #2320 - RalfJung:less-rebuilds, r=RalfJung
reduce regex features to reduce rebuilds

Helps with the issue I [mentioned on Zulip](https://rust-lang.zulipchat.com/#narrow/stream/269128-miri/topic/Miri.20rebuilds/near/287442340).
2022-07-03 16:31:49 +00:00
Ralf Jung 248a10eaf5 reduce regex features to reduce rebuilds 2022-07-03 12:28:57 -04:00
Ralf Jung 2fc9278818 no doctests in ui_test 2022-07-03 10:45:39 -04:00
Ralf Jung e33efc7517 make ui_test pass clippy 2022-06-29 18:17:36 -04:00
bors c38e1e9d62 Auto merge of #2250 - rust-lang:gesundheit, r=oli-obk
Require local annotations for local diagnostics

if/when we get flaky diagnostics we can revisit and add more helpers for those
2022-06-23 13:49:56 +00:00
Oli Scherer c4ffe680e3 Require local annotations for local diagnostics 2022-06-23 13:49:02 +00:00
Ralf Jung 599a0cf4fc fmt 2022-06-22 08:52:48 -07:00
Ralf Jung 7308f8f3cf ui_test: fix behavior of only-Nbits comments 2022-06-21 22:25:09 -07:00
Ralf Jung e70c631a3b add ICE error level 2022-06-16 11:03:39 -07:00