diff options
Diffstat (limited to 'meta/lib/oeqa/selftest/cases')
-rw-r--r-- | meta/lib/oeqa/selftest/cases/rust.py | 5 | ||||
-rw-r--r-- | meta/lib/oeqa/selftest/cases/yoctotestresultsquerytests.py | 4 |
2 files changed, 5 insertions, 4 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") |
diff --git a/meta/lib/oeqa/selftest/cases/yoctotestresultsquerytests.py b/meta/lib/oeqa/selftest/cases/yoctotestresultsquerytests.py index 312edb6431..b1015d60ef 100644 --- a/meta/lib/oeqa/selftest/cases/yoctotestresultsquerytests.py +++ b/meta/lib/oeqa/selftest/cases/yoctotestresultsquerytests.py | |||
@@ -18,8 +18,8 @@ sys.path = sys.path + [lib_path] | |||
18 | class TestResultsQueryTests(OESelftestTestCase): | 18 | class TestResultsQueryTests(OESelftestTestCase): |
19 | def test_get_sha1(self): | 19 | def test_get_sha1(self): |
20 | test_data_get_sha1 = [ | 20 | test_data_get_sha1 = [ |
21 | {"input": "yocto-4.0", "expected": "00cfdde791a0176c134f31e5a09eff725e75b905"}, | 21 | {"input": "yocto-4.0", "expected": "92fcb6570bddd0c5717d8cfdf38ecf3e44942b0f"}, |
22 | {"input": "4.1_M1", "expected": "95066dde6861ee08fdb505ab3e0422156cc24fae"}, | 22 | {"input": "yocto-5.2", "expected": "6ec2c52b938302b894f119f701ffcf0a847eee85"}, |
23 | ] | 23 | ] |
24 | for data in test_data_get_sha1: | 24 | for data in test_data_get_sha1: |
25 | test_name = data["input"] | 25 | test_name = data["input"] |