[kvm-unit-tests PATCH v2 4/5] docs: mention modifying env vars in README

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I had started adding a series of flags to control the run-time
behaviour of the tests but it was pointed out env vars can already do
that. Mention them in the README so others can find out to.

Signed-off-by: Alex Bennée <alex.bennee@xxxxxxxxxx>

---
v2
  - a little more verbosity on TIMEOUT and ACCEL
---
 README.md | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/README.md b/README.md
index c052dff..153ae5e 100644
--- a/README.md
+++ b/README.md
@@ -47,6 +47,19 @@ environment variable:
 
     QEMU=/tmp/qemu/x86_64-softmmu/qemu-system-x86_64 ./x86-run ./x86/msr.flat
 
+To force the use of TCG:
+
+    ACCEL=tcg ./run_tests.sh
+
+To force failure when KVM is not present:
+
+    ACCEL=kvm ./run_tests.sh
+
+To modify or disable the timeouts (see man timeout(1)):
+
+    TIMEOUT=$DURATION ./run_tests.sh
+    TIMEOUT=0 ./run_tests.sh
+
 # Contributing
 
 ## Directory structure
-- 
2.11.0

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux