17da4e06f2
Previously, this printed the debugging options, not the lint options, and only handled `-Whelp`, not `-A/-D/-F`. This also fixes a few other misc issues: - Fix `// check-stdout` for UI tests; previously it only worked for run-fail and compile-fail tests - Add lint headers for tool lints, not just builtin lints - Remove duplicate run-make test
11 lines
486 B
XML
11 lines
486 B
XML
// compile-flags: -W help
|
|
// check-pass
|
|
// check-stdout
|
|
// error-pattern:Lint checks provided
|
|
// error-pattern:rustdoc::broken-intra-doc-links
|
|
//
|
|
// ignore-tidy-linelength
|
|
//
|
|
// normalize-stdout-test: "( +name default meaning\n +---- ------- -------\n)?( *[[:word:]:-]+ (allow |warn |deny |forbid ) [^\n]+\n)+" -> " $$NAMES $$LEVELS $$MEANINGS"
|
|
// normalize-stdout-test: " +name sub-lints\n +---- ---------\n( *[[:word:]:-]+ [^\n]+\n)+" -> " $$NAMES $$SUB_LINTS"
|