Commit Graph

58 Commits

Author SHA1 Message Date
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
Oli Scherer c16c45362c Document file sorting 2022-06-13 09:08:14 -07:00
Ralf Jung a2cc014231 test files in a deterministic order 2022-06-13 09:07:02 -07:00
Ralf Jung 0648f03133 ensure all worker threads stay around 2022-06-13 09:07:02 -07:00
Oli Scherer 0689f36a55 Always show stderr on test failure. 2022-06-13 08:55:34 +00:00
Ralf Jung 66d3ee157b hotfix for incorrect only- logic 2022-06-06 19:11:59 -04:00
Ralf Jung 9b9edc7440 print list of failed tests in summary 2022-06-01 08:59:34 -04:00
Oli Scherer 4b100a1b58 Check that diagnostics happen in the line that they are annotated for 2022-06-01 11:47:54 +00:00
Ralf Jung 962957f11f make it possible to test more of ui_test 2022-05-30 12:56:34 +02:00
Ralf Jung 4d80880854 fmt 2022-05-30 12:32:49 +02:00
Ralf Jung 80bf204848 don't configure the same regex twice 2022-05-30 12:30:58 +02:00
Ralf Jung b9d79a25ba also 'check' the test suite 2022-05-30 12:30:54 +02:00
Ralf Jung 86e53f41b0 print reason for ignoring 2022-05-30 10:33:48 +02:00
Ralf Jung 4e91c2e368 ui_test: printing more consistent with compiletest
distinguish "ignored" from "filtered out"
2022-05-30 10:33:33 +02:00
Ralf Jung e37dfa6d91 ui_test: support multiple filters 2022-05-30 10:27:51 +02:00
Oli Scherer 740574206b Commit our ui test crate's cargo lockfile 2022-05-27 14:24:38 +00:00
Oli Scherer 1b7e278922 Reintroduce path filters 2022-05-27 11:43:14 +00:00
Oli Scherer 10e06be15a Don't export private things 2022-05-27 11:36:18 +00:00
Oli Scherer 6b18cf0e20 Self-descriptive verbosity 2022-05-25 18:26:33 +00:00