Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move rustdoc run-make-fulldeps tests to run-make #83775

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
-include ../tools.mk
include ../../run-make-fulldeps/tools.mk

all:
$(RUSTC) success.rs; [ $$? -eq 0 ]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
-include ../tools.mk
include ../../run-make-fulldeps/tools.mk

all: foo.rs
$(RUSTC) --cfg 'feature="bar"' --crate-type lib foo.rs
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
-include ../tools.mk
include ../../run-make-fulldeps/tools.mk

all:
$(RUSTC) foo.rs; $(RUSTC) bar.rs
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
-include ../tools.mk
include ../../run-make-fulldeps/tools.mk

# Assert that the search index is generated deterministically, regardless of the
# order that crates are documented in.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
-include ../tools.mk
include ../../run-make-fulldeps/tools.mk

# Test that hir-tree output doesn't crash and includes
# the string constant we would expect to see.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
-include ../tools.mk
include ../../run-make-fulldeps/tools.mk

# This test verifies that rustdoc doesn't ICE when it encounters an IO error
# while generating files. Ideally this would be a rustdoc-ui test, so we could
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
-include ../tools.mk

all:
$(RUSTDOC) -Z unstable-options --generate-redirect-map foo.rs -o "$(TMPDIR)/out"
"$(PYTHON)" validate_json.py "$(TMPDIR)/out"
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
-include ../tools.mk

all:
$(RUSTDOC) -o "$(TMPDIR)/foo/bar/doc" foo.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
-include ../tools.mk

all:
$(RUSTDOC) -Z unstable-options --print unversioned-files | sort | diff - unversioned-files.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
-include ../tools.mk
include ../../run-make-fulldeps/tools.mk

# Test that rustdoc will properly load in a theme file and display it in the theme selector.

Expand Down