summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorAlexander Bulekov2021-03-14 05:23:56 +0100
committerPaolo Bonzini2021-03-16 19:19:54 +0100
commit97ef5f8862e1442a8d1c6044e19aa19ce9d1e974 (patch)
treeac7e4768fd253b2d1dfd5db94166570bbba31ade /tests
parentfuzz: don't leave orphan llvm-symbolizers around (diff)
downloadqemu-97ef5f8862e1442a8d1c6044e19aa19ce9d1e974.tar.gz
qemu-97ef5f8862e1442a8d1c6044e19aa19ce9d1e974.tar.xz
qemu-97ef5f8862e1442a8d1c6044e19aa19ce9d1e974.zip
fuzz: add a script to build reproducers
Currently, bash and C crash reproducers are be built manually. This is a problem, as we want to integrate reproducers into the tree, for regression testing. This patch adds a script that converts a sequence of QTest commands into a pasteable Bash reproducer, or a libqtest-based C program. This will try to wrap pasteable reproducers to 72 chars, but the generated C code will not have nice formatting. Therefore, the C output of this script should be piped through an auto-formatter, such as clang-format Signed-off-by: Alexander Bulekov <alxndr@bu.edu> Reviewed-by: Darren Kenny <darren.kenny@oracle.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions