[PATCH master 1/3] test: kvx: add Labgrid env YAML for generic_defconfig

Ahmad Fatoum <[email protected]>
Newsgroups org.infradead.lists.barebox
Message-ID <[email protected]>
We build for kvx in CI, but we don't yet include qemu-system-kvx.
To simplify at least manual testing, add a generic_defconfig.yaml
that correctly configures QEMU to be able to start barebox.

Signed-off-by: Ahmad Fatoum <[email protected]>
---
 test/kvx/generic_defconfig.yaml | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 test/kvx/generic_defconfig.yaml

diff --git a/test/kvx/generic_defconfig.yaml b/test/kvx/generic_defconfig.yaml
new file mode 100644
index 000000000000..66b5bb308564
--- /dev/null
+++ b/test/kvx/generic_defconfig.yaml
@@ -0,0 +1,17 @@
+targets:
+  main:
+    drivers:
+      QEMUDriver:
+        qemu_bin: qemu-system-kvx
+        machine: mppa-coolidge
+        memory: 512M
+        kernel: barebox
+        display: qemu-default
+      BareboxDriver:
+        prompt: 'barebox@[^:]+:[^ ]+ '
+        bootstring: 'commandline:'
+      BareboxTestStrategy: {}
+images:
+  barebox: !template "$LG_BUILDDIR/barebox"
+imports:
+  -  ../strategy.py
-- 
2.47.3
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.