about summary refs log tree commit diff
path: root/src/test/rustdoc-json/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/rustdoc-json/Makefile')
-rw-r--r--src/test/rustdoc-json/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/test/rustdoc-json/Makefile b/src/test/rustdoc-json/Makefile
new file mode 100644
index 00000000000..ad517ae95eb
--- /dev/null
+++ b/src/test/rustdoc-json/Makefile
@@ -0,0 +1,6 @@
+-include ../tools.mk
+
+tests: *.rs
+	$(RUSTDOC) $< -o $(TMPDIR) --output-format json
+	$(PYTHON) check_missing_items.py $(TMPDIR)/$(basename $<).json
+	$(PYTHON) compare.py $(basename $<).expected $(TMPDIR)/$(basename $<).json