diff options
| -rw-r--r-- | meta/lib/oeqa/selftest/cases/rust.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/meta/lib/oeqa/selftest/cases/rust.py b/meta/lib/oeqa/selftest/cases/rust.py index ca98f8c0fd..26f132edc4 100644 --- a/meta/lib/oeqa/selftest/cases/rust.py +++ b/meta/lib/oeqa/selftest/cases/rust.py | |||
| @@ -208,9 +208,8 @@ class RustSelfTestSystemEmulated(OESelftestTestCase, OEPTestResultTestCase): | |||
| 208 | tmpdir = get_bb_var("TMPDIR", "rust") | 208 | tmpdir = get_bb_var("TMPDIR", "rust") |
| 209 | 209 | ||
| 210 | # Set path for target-poky-linux-gcc, RUST_TARGET_PATH and hosttools. | 210 | # Set path for target-poky-linux-gcc, RUST_TARGET_PATH and hosttools. |
| 211 | cmd = " export PATH=%s/recipe-sysroot-native/usr/bin:$PATH;" % rustlibpath | 211 | cmd = "export TARGET_VENDOR=\"-poky\";" |
| 212 | cmd = cmd + " export TARGET_VENDOR=\"-poky\";" | 212 | cmd = cmd + " export PATH=%s/recipe-sysroot-native/usr/bin/python3-native:%s/recipe-sysroot-native/usr/bin:%s/recipe-sysroot-native/usr/bin/%s:%s/hosttools:$PATH;" % (rustlibpath, rustlibpath, rustlibpath, tcpath, tmpdir) |
| 213 | cmd = cmd + " export PATH=%s/recipe-sysroot-native/usr/bin/%s:%s/hosttools:$PATH;" % (rustlibpath, tcpath, tmpdir) | ||
| 214 | cmd = cmd + " export RUST_TARGET_PATH=%s/rust-targets;" % rustlibpath | 213 | cmd = cmd + " export RUST_TARGET_PATH=%s/rust-targets;" % rustlibpath |
| 215 | # Trigger testing. | 214 | # Trigger testing. |
| 216 | cmd = cmd + " export TEST_DEVICE_ADDR=\"%s:12345\";" % qemu.ip | 215 | cmd = cmd + " export TEST_DEVICE_ADDR=\"%s:12345\";" % qemu.ip |
