From: Anton Mikanovich <amikan@ilbers.de>
To: isar-users@googlegroups.com
Cc: Roman Pletnev <rpletnev@ilbers.de>, Anton Mikanovich <amikan@ilbers.de>
Subject: [PATCH v9 01/17] start_vm.py: Fix target name handling
Date: Wed, 30 Jun 2021 14:28:53 +0300 [thread overview]
Message-ID: <20210630112909.87092-2-amikan@ilbers.de> (raw)
In-Reply-To: <20210630112909.87092-1-amikan@ilbers.de>
From: Roman Pletnev <rpletnev@ilbers.de>
This patch fix bb_output search (issue with wrong arch name being
selected for qemu) which caused qemu-system-riscv64 to be used for all
the targets:
>ERROR: [Errno 2] No such file or directory: u'qemu-system-riscv64' (1.05 s)
Signed-off-by: Roman Pletnev <rpletnev@ilbers.de>
Signed-off-by: Anton Mikanovich <amikan@ilbers.de>
---
testsuite/start_vm.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/testsuite/start_vm.py b/testsuite/start_vm.py
index a3e32ac..c10db67 100755
--- a/testsuite/start_vm.py
+++ b/testsuite/start_vm.py
@@ -17,7 +17,7 @@ def get_bitbake_env(arch, distro):
def get_bitbake_var(output, var):
ret = ''
for line in output.splitlines():
- if line.startswith(var):
+ if line.startswith(var + '='):
ret = line.split('"')[1]
return ret
--
2.25.1
next prev parent reply other threads:[~2021-06-30 11:29 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-06-30 11:28 [PATCH v9 00/17] Update Avocado testsuite Anton Mikanovich
2021-06-30 11:28 ` Anton Mikanovich [this message]
2021-06-30 11:28 ` [PATCH v9 02/17] start_vm.py: Add output and PID file vm_start.py options Anton Mikanovich
2021-06-30 11:28 ` [PATCH v9 03/17] start_vm.py: Add MIPS support Anton Mikanovich
2021-06-30 11:28 ` [PATCH v9 04/17] start_vm.py: Fix ubuntu image name Anton Mikanovich
2021-06-30 11:28 ` [PATCH v9 05/17] vm_boot_test: Fix log file path in vm_boot_test Anton Mikanovich
2021-06-30 11:28 ` [PATCH v9 06/17] vm_boot_test: Remove external varianter Anton Mikanovich
2021-06-30 11:28 ` [PATCH v9 07/17] vm_boot_test: Improve QEMU images checking Anton Mikanovich
2021-06-30 11:29 ` [PATCH v9 08/17] build_test: Refactoring build tests cases Anton Mikanovich
2021-06-30 11:29 ` [PATCH v9 09/17] testsuite: Add Python generations for testsuite in gitignore Anton Mikanovich
2021-06-30 11:29 ` [PATCH v9 10/17] testsuite: Fix test suite prepare guide Anton Mikanovich
2021-06-30 11:29 ` [PATCH v9 11/17] gitlab-ci: Add Avocado build artifacts Anton Mikanovich
2021-06-30 11:29 ` [PATCH v9 12/17] gitlab-ci: Add debug flag Anton Mikanovich
2021-06-30 11:29 ` [PATCH v9 13/17] vm_boot_test: Add automatic bitbake init Anton Mikanovich
2021-06-30 11:29 ` [PATCH v9 14/17] build_test: Protect ubuntu target with KFAIL Anton Mikanovich
2021-06-30 11:29 ` [PATCH v9 15/17] ci_build: Migrate to Avocado Anton Mikanovich
2021-06-30 11:29 ` [PATCH v9 16/17] vm_smoke_test: " Anton Mikanovich
2021-06-30 11:29 ` [PATCH v9 17/17] ci_build: Install Avocado if needed Anton Mikanovich
2021-07-02 6:29 ` [PATCH v9 00/17] Update Avocado testsuite Jan Kiszka
2021-07-02 6:34 ` Anton Mikanovich
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210630112909.87092-2-amikan@ilbers.de \
--to=amikan@ilbers.de \
--cc=isar-users@googlegroups.com \
--cc=rpletnev@ilbers.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox