From 95c1bf60005085a5c83cc63b33319d6b484a704a Mon Sep 17 00:00:00 2001 From: Guillaume Gomez Date: Mon, 14 Jun 2021 17:55:25 +0200 Subject: Allow to pass arguments to rustdoc-gui tool --- src/test/rustdoc-gui/README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'src/test/rustdoc-gui') diff --git a/src/test/rustdoc-gui/README.md b/src/test/rustdoc-gui/README.md index 499a98a3d22..8efe7a578b8 100644 --- a/src/test/rustdoc-gui/README.md +++ b/src/test/rustdoc-gui/README.md @@ -8,5 +8,17 @@ test what's being currently displayed in the web page. You can find more information and its documentation in its [repository][browser-ui-test]. +If you need to have more information on the tests run, you can use `--test-args`: + +```bash +$ ./x.py test src/test/rustdoc-gui --stage 1 --jobs 8 --test-args --debug +``` + +There are three options supported: + + * `--debug`: allows to see puppeteer commands. + * `--no-headless`: disable headless mode so you can see what's going on. + * `--show-text`: by default, text isn't rendered because of issues with fonts, it enables it back. + [browser-ui-test]: https://github.com/GuillaumeGomez/browser-UI-test/ [puppeteer]: https://pptr.dev/ -- cgit 1.4.1-3-g733a5