qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [PATCH 2/8] device-crash-test: Add examples to script docum


From: Eduardo Habkost
Subject: [Qemu-devel] [PATCH 2/8] device-crash-test: Add examples to script documentation
Date: Fri, 9 Mar 2018 17:28:21 -0300

Add simple examples for common use cases.

Signed-off-by: Eduardo Habkost <address@hidden>
---
 scripts/device-crash-test | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/scripts/device-crash-test b/scripts/device-crash-test
index c6a7875357..364c779cdb 100755
--- a/scripts/device-crash-test
+++ b/scripts/device-crash-test
@@ -22,6 +22,25 @@
 """
 Run QEMU with all combinations of -machine and -device types,
 check for crashes and unexpected errors.
+
+Example usage:
+
+Test all QEMU binaries found in the current directory, with all
+machine-type/device combinations, but skip the combinations that are expected 
to
+fail:
+
+    device-crash-test
+
+Test all QEMU binaries found in the current directory, with all
+machine-type/device combinations, including the combinations that are expected
+to fail:
+
+    device-crash-test -F
+
+Test a single QEMU binary:
+
+    device-crash-test /path/to/qemu/binary
+
 """
 
 import sys
-- 
2.14.3




reply via email to

[Prev in Thread] Current Thread [Next in Thread]