Commit graph

7 commits

Author SHA1 Message Date
Sinan Nalkaya
a40c3e5b4b Disable rustdoc-test-builder test partially for SGX target. 2025-11-13 11:53:58 +01:00
Osama Abdelkader
f1bbe593d5 tests: skip rustdoc test-builder success path for remote client
Signed-off-by: Osama Abdelkader <osama.abdelkader@gmail.com>
2025-11-10 01:31:02 +02:00
Osama Abdelkader
1c1923f9e9 tests: skip rustdoc test-builder success path when cross-compiling
Signed-off-by: Osama Abdelkader <osama.abdelkader@gmail.com>
2025-11-08 19:41:49 +02:00
Osama Abdelkader
09385f9201 use bare_rustc to keep host toolchain
Signed-off-by: Osama Abdelkader <osama.abdelkader@gmail.com>
2025-11-07 16:30:25 +02:00
Osama Abdelkader
8075c98745 Add test for success path
Adds missing test coverage for rustdoc's `--test-builder` option.

The existing test only covered the error case (non-executable builder). This PR
adds:
- A custom test builder that logs arguments and forwards to rustc
- A test verifying that `--test-builder` successfully invokes the custom
builder with rustc-style arguments
- Improved comments explaining both the error and success test scenarios

The test validates that custom builders can properly intercept and handle
doctest compilation.

Signed-off-by: Osama Abdelkader <osama.abdelkader@gmail.com>
2025-11-07 00:24:04 +02:00
Guillaume Gomez
2c3c82c4c5 Add new run_make_support::CompletedProcess::assert_ice method 2025-11-05 22:43:25 +01:00
Guillaume Gomez
5d0011c1ef Add regression test when unable to run compiler in doctest 2025-11-03 20:56:14 +01:00