Skip to content

We copied rust.inc to rust-test.inc file, since the rust.inc generates the rquired wrappers (which contains target compiler paths) in place. Which we can use in config.toml file for cross testing. We are trying to generate the config.toml through do_configure option in rust-test.inc file.

Vinay Kumar openembedded-core 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8We copied rust.inc to rust-test.inc file, since the rust.inc generates the rquired wrappers (which contains target compiler paths) in place. Which we can use in config.toml file for cross testing. We are trying to generate the config.toml through do_configure option in rust-test.inc file.meta/recipes-devtools/rust/rust-test.inc meta/recipes-devtools/rust/rust-test_1.46.0.bb+532 -00 replies
2/8The function "do_compile" is to compile remote-test-server, and "do_check" to trigger the rust testing.meta/recipes-devtools/rust/rust-test.inc+13 -210 replies
3/8The rust.py is oe-selftest script to build remote-test-server, qemu-image and boot image in slirp mode. Once the image gets booted throgh "check" the testing starts by copying the "remote-test-server" in to the image.meta/lib/oeqa/selftest/cases/rust.py+43 -00 replies
4/8In rust testing we have to boot image in slirp mode along with qemu monitor via telnet. Also, we are passing "-serial mon:stdio -serial" to fix runtime errors like, "failed with Connection reset by peer" observed during execution on image.meta/lib/oeqa/utils/qemurunner.py+8 -10 replies
5/8There are some error messages like, "error: linker `cc` not found" got fixed by adding "cc" in hosttools.meta/conf/bitbake.conf+1 -179 replies
6/8We are passing "hostfwd=tcp::12345-:12345" while booting image when slirp is selected. Also, we are using mapped port of ssh :22 to copy remote-test-server to image. We have added a logic to extract the port number whenever multiple instaces of qemu are running (ex., 2222 gets incremented by 1 if its already in use by another qemu).scripts/runqemu+17 -10 replies
7/8These changes are to get the rust target triplet "mips64-unknown-linux-gnuabi64" for mips64.meta/classes/rust-common.bbclass+5 -10 replies
8/8In case of testing for "x86_64".meta/recipes-devtools/rust/rust-test.inc+28 -90 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread