From 5170f8fa25e6dac5d8010efc87cb7486155b57af Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Fri, 10 Nov 2023 00:04:59 +0100 Subject: Add remote testing notes --- community/gsoc/project_ideas/rust.mdwn | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'community/gsoc/project_ideas') 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: -- cgit v1.2.3