diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2023-11-10 00:04:59 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2023-11-10 00:04:59 +0100 |
commit | 5170f8fa25e6dac5d8010efc87cb7486155b57af (patch) | |
tree | e0c4bf5f23ed64ea34a9c245b4ce8e1605955db2 /community/gsoc/project_ideas/rust.mdwn | |
parent | 5060b705b0ab1d91909c91cf2935f22282ee1dff (diff) |
Add remote testing notes
Diffstat (limited to 'community/gsoc/project_ideas/rust.mdwn')
-rw-r--r-- | community/gsoc/project_ideas/rust.mdwn | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/community/gsoc/project_ideas/rust.mdwn b/community/gsoc/project_ideas/rust.mdwn index c8775d08..f6be8132 100644 --- a/community/gsoc/project_ideas/rust.mdwn +++ b/community/gsoc/project_ideas/rust.mdwn @@ -113,8 +113,23 @@ some ram, 4GB may be needed. One can run the basic testsuites with ./x test tests/ui + ./x test library/core ./x test library/std +One [can run tests remotely](https://rustc-dev-guide.rust-lang.org/tests/running.html#running-tests-on-a-remote-machine), +to test with crossbuilding: + + ./x build src/tools/remote-test-server --target i686-unknown-hurd-gnu + +One can run it on the target: + + ./remote-test-server -v --bind 0.0.0.0:12345 + +and run the testsuite with + + export TEST_DEVICE_ADDR="1.2.3.4:12345" + ./x test tests/ui --target i686-unknown-hurd-gnu + Currently these tests are known to fail: tests/ui: |