Skip to contentSkip to conversation

docs/system: Use the meson binary from the pyvenv

PATCH In review Thomas Huth 3 participants 3 messages Mar 18, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 docs/system: Use the meson binary from the pyvenv

From: Thomas Huth <[email protected]>

To avoid problems with the meson installation from the host system, we should always use the meson from our venv instead. Thus use this in the documentation, too.

While we're at it, also mention that it has to be run from the build folder (in the igb.rst file; the other two files were already fine).

---
 docs/system/arm/bananapi_m2u.rst | 2 +-
 docs/system/arm/orangepi.rst     | 2 +-
 docs/system/devices/igb.rst      | 5 +++--
 3 files changed, 5 insertions(+), 4 deletions(-)
docs/system/arm/bananapi_m2u.rst +1 -1
index d30db8d04c3..6efa222c16f 100644
@@ -136,4 +136,4 @@ provide the following command:
 
   $ cd qemu-build-dir
   $ QEMU_TEST_ALLOW_LARGE_STORAGE=1 \
-    meson test --suite thorough func-arm-arm_bpim2u
+    pyvenv/bin/meson test --suite thorough func-arm-arm_bpim2u
docs/system/arm/orangepi.rst +1 -1
index 8b9448ca7b0..716062fca9c 100644
@@ -262,4 +262,4 @@ provide the following command from the build directory:
 .. code-block:: bash
 
   $ QEMU_TEST_ALLOW_LARGE_STORAGE=1 \
-    meson test --suite thorough func-arm-arm_orangepi
+    pyvenv/bin/meson test --suite thorough func-arm-arm_orangepi
docs/system/devices/igb.rst +3 -2
index 9145af5c757..71f31cb1160 100644
@@ -57,11 +57,12 @@ directory:
   meson test qtest-x86_64/qos-test
 
 ethtool can test register accesses, interrupts, etc. It is automated as an
-functional test and can be ran with the following command:
+functional test and can be run from the build directory with the following
+command:
 
 .. code:: shell
 
-  meson test --suite thorough func-x86_64-netdev_ethtool
+  pyvenv/bin/meson test --suite thorough func-x86_64-netdev_ethtool
 
 References
 ==========
Signature · 1 line
2.48.1
Reviewed-by on v1 1/1
#1 lore raw
Quoted 6 lines · Thomas Huth

From: Thomas Huth <[email protected]>

To avoid problems with the meson installation from the host system, we should always use the meson from our venv instead. Thus use this in the documentation, too.

Quoted 6 lines

While we're at it, also mention that it has to be run from the build folder (in the igb.rst file; the other two files were already fine).

Reviewed-by on v1 1/1
#2 lore raw
In reply to Thomas Huth
Quoted 62 lines · Thomas Huth

From: Thomas Huth <[email protected]>

To avoid problems with the meson installation from the host system, we should always use the meson from our venv instead. Thus use this in the documentation, too.

While we're at it, also mention that it has to be run from the build folder (in the igb.rst file; the other two files were already fine).

---
 docs/system/arm/bananapi_m2u.rst | 2 +-
 docs/system/arm/orangepi.rst     | 2 +-
 docs/system/devices/igb.rst      | 5 +++--
 3 files changed, 5 insertions(+), 4 deletions(-)
docs/system/arm/bananapi_m2u.rst +1 -1
index d30db8d04c3..6efa222c16f 100644
@@ -136,4 +136,4 @@ provide the following command:
 
   $ cd qemu-build-dir
   $ QEMU_TEST_ALLOW_LARGE_STORAGE=1 \
-    meson test --suite thorough func-arm-arm_bpim2u
+    pyvenv/bin/meson test --suite thorough func-arm-arm_bpim2u
docs/system/arm/orangepi.rst +1 -1
index 8b9448ca7b0..716062fca9c 100644
@@ -262,4 +262,4 @@ provide the following command from the build directory:
 .. code-block:: bash
 
   $ QEMU_TEST_ALLOW_LARGE_STORAGE=1 \
-    meson test --suite thorough func-arm-arm_orangepi
+    pyvenv/bin/meson test --suite thorough func-arm-arm_orangepi
docs/system/devices/igb.rst +3 -3
index 9145af5c757..71f31cb1160 100644
@@ -57,11 +57,12 @@ directory:
   meson test qtest-x86_64/qos-test
 
 ethtool can test register accesses, interrupts, etc. It is automated as an
-functional test and can be ran with the following command:
+functional test and can be run from the build directory with the following
+command:
 
 .. code:: shell
 
-  meson test --suite thorough func-x86_64-netdev_ethtool
+  pyvenv/bin/meson test --suite thorough func-x86_64-netdev_ethtool
 
 References
 ==========
--

2.48.1

Signature · 1 line
Niek Linnenbank