diff options
| author | Kang Seonghoon <public+git@mearie.org> | 2015-01-18 02:24:04 +0900 |
|---|---|---|
| committer | Kang Seonghoon <public+git@mearie.org> | 2015-01-18 02:42:15 +0900 |
| commit | de6f520192d76151bf99f2250afac75da3f040d5 (patch) | |
| tree | 15d28c2412db0aed90cccd48bfb429e09ad66f45 /src/test/run-make/tools.mk | |
| parent | ee2bfae011e368e224d6d4f4c9fad13606ee99da (diff) | |
| download | rust-de6f520192d76151bf99f2250afac75da3f040d5.tar.gz rust-de6f520192d76151bf99f2250afac75da3f040d5.zip | |
tests: Add htmldocck.py script for the use of Rustdoc tests.
The script is intended as a tool for doing every sort of verifications amenable to Rustdoc's HTML output. For example, link checkers would go to this script. It already parses HTML into a document tree form (with a slight caveat), so future tests can make use of it. As an example, relevant `rustdoc-*` run-make tests have been updated to use `htmldocck.py` and got their `verify.sh` removed. In the future they may go to a dedicated directory with htmldocck running by default. The detailed explanation of test scripts is provided as a docstring of htmldocck. cc #19723
Diffstat (limited to 'src/test/run-make/tools.mk')
| -rw-r--r-- | src/test/run-make/tools.mk | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/run-make/tools.mk b/src/test/run-make/tools.mk index 365cbf93da2..971295405aa 100644 --- a/src/test/run-make/tools.mk +++ b/src/test/run-make/tools.mk @@ -7,6 +7,7 @@ TARGET_RPATH_ENV = \ RUSTC := $(HOST_RPATH_ENV) $(RUSTC) --out-dir $(TMPDIR) -L $(TMPDIR) CC := $(CC) -L $(TMPDIR) +HTMLDOCCK := $(PYTHON) $(S)/src/etc/htmldocck.py # This is the name of the binary we will generate and run; use this # e.g. for `$(CC) -o $(RUN_BINFILE)`. |
