rewrite debugger-visualizer-dep-info to rmake
This commit is contained in:
parent
060a13e9fd
commit
9e2ace85f9
3 changed files with 11 additions and 10 deletions
|
|
@ -23,7 +23,6 @@ run-make/cross-lang-lto-pgo-smoketest/Makefile
|
|||
run-make/cross-lang-lto-upstream-rlibs/Makefile
|
||||
run-make/cross-lang-lto/Makefile
|
||||
run-make/debug-assertions/Makefile
|
||||
run-make/debugger-visualizer-dep-info/Makefile
|
||||
run-make/dep-info-doesnt-run-much/Makefile
|
||||
run-make/dep-info-spaces/Makefile
|
||||
run-make/dep-info/Makefile
|
||||
|
|
|
|||
|
|
@ -1,9 +0,0 @@
|
|||
include ../tools.mk
|
||||
|
||||
# This test makes sure that files referenced via #[debugger_visualizer] are
|
||||
# included in `--emit dep-info` output.
|
||||
|
||||
all:
|
||||
$(RUSTC) --emit dep-info main.rs
|
||||
$(CGREP) "foo.py" < $(TMPDIR)/main.d
|
||||
$(CGREP) "my_visualizers/bar.natvis" < $(TMPDIR)/main.d
|
||||
11
tests/run-make/debugger-visualizer-dep-info/rmake.rs
Normal file
11
tests/run-make/debugger-visualizer-dep-info/rmake.rs
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
// This test checks that files referenced via #[debugger_visualizer] are
|
||||
// included in `--emit dep-info` output.
|
||||
// See https://github.com/rust-lang/rust/pull/111641
|
||||
|
||||
use run_make_support::{invalid_utf8_contains, rustc};
|
||||
|
||||
fn main() {
|
||||
rustc().emit("dep-info").input("main.rs").run();
|
||||
invalid_utf8_contains("main.d", "foo.py");
|
||||
invalid_utf8_contains("main.d", "my_visualizers/bar.natvis");
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue