diff options
| -rw-r--r-- | meta/lib/oeqa/selftest/cases/rust.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/meta/lib/oeqa/selftest/cases/rust.py b/meta/lib/oeqa/selftest/cases/rust.py index 95859a9eef..06acf53e9a 100644 --- a/meta/lib/oeqa/selftest/cases/rust.py +++ b/meta/lib/oeqa/selftest/cases/rust.py | |||
| @@ -102,8 +102,9 @@ class RustSelfTestSystemEmulated(OESelftestTestCase, OEPTestResultTestCase): | |||
| 102 | testargs = exclude_fail_tests + " --no-doc --no-fail-fast --bless" | 102 | testargs = exclude_fail_tests + " --no-doc --no-fail-fast --bless" |
| 103 | 103 | ||
| 104 | # wrap the execution with a qemu instance. | 104 | # wrap the execution with a qemu instance. |
| 105 | # Tests are run with 512 tasks in parallel to execute all tests very quickly | 105 | # Set QEMU RAM to 1024MB to support running unit tests for the compiler crate, including larger |
| 106 | with runqemu("core-image-minimal", runqemuparams = "nographic", qemuparams = "-m 512") as qemu: | 106 | # test cases and parallel execution in the test environment. |
| 107 | with runqemu("core-image-minimal", runqemuparams = "nographic", qemuparams = "-m 1024") as qemu: | ||
| 107 | # Copy remote-test-server to image through scp | 108 | # Copy remote-test-server to image through scp |
| 108 | host_sys = get_bb_var("RUST_BUILD_SYS", "rust") | 109 | host_sys = get_bb_var("RUST_BUILD_SYS", "rust") |
| 109 | ssh = SSHControl(ip=qemu.ip, logfile=qemu.sshlog, user="root") | 110 | ssh = SSHControl(ip=qemu.ip, logfile=qemu.sshlog, user="root") |
