Skip to content

Commit

Permalink
Migrate run-make/allow-non-lint-warnings-cmdline to rmake.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
GuillaumeGomez committed Jun 13, 2024
1 parent 9314831 commit 96f9fe5
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 13 deletions.
1 change: 0 additions & 1 deletion src/tools/tidy/src/allowed_run_make_makefiles.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
run-make/allocator-shim-circular-deps/Makefile
run-make/allow-non-lint-warnings-cmdline/Makefile
run-make/archive-duplicate-names/Makefile
run-make/atomic-lock-free/Makefile
run-make/branch-protection-check-IBT/Makefile
Expand Down
12 changes: 0 additions & 12 deletions tests/run-make/allow-non-lint-warnings-cmdline/Makefile

This file was deleted.

8 changes: 8 additions & 0 deletions tests/run-make/allow-non-lint-warnings-cmdline/rmake.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
// Test that -A warnings makes the 'empty trait list for derive' warning go away.

use run_make_support::rustc;

fn main() {
let output = rustc().input("foo.rs").arg("-Awarnings").run();
output.assert_stderr_not_contains("warning");
}

0 comments on commit 96f9fe5

Please sign in to comment.