summaryrefslogtreecommitdiffstats
path: root/tests/run-make/debugger-visualizer-dep-info/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tests/run-make/debugger-visualizer-dep-info/Makefile')
-rw-r--r--tests/run-make/debugger-visualizer-dep-info/Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/run-make/debugger-visualizer-dep-info/Makefile b/tests/run-make/debugger-visualizer-dep-info/Makefile
new file mode 100644
index 000000000..0877998a7
--- /dev/null
+++ b/tests/run-make/debugger-visualizer-dep-info/Makefile
@@ -0,0 +1,9 @@
+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