diff options
| author | Thomas Huth <thuth@redhat.com> | 2020-09-30 13:13:52 +0200 |
|---|---|---|
| committer | Thomas Huth <thuth@redhat.com> | 2020-10-24 07:23:19 +0200 |
| commit | b7f47e82e2d8ccf368d70fc4fd1467db55a74a32 (patch) | |
| tree | 8e77b86bcce0487c787381884533c158fd91cffa /scripts/oss-fuzz/minimize_qtest_trace.py | |
| parent | 9ab4fb21f5b336138757912f68bae1bf450c23b5 (diff) | |
| download | focaccia-qemu-b7f47e82e2d8ccf368d70fc4fd1467db55a74a32.tar.gz focaccia-qemu-b7f47e82e2d8ccf368d70fc4fd1467db55a74a32.zip | |
tests/qtest/libqtest: Fix detection of architecture for binaries without path
The qtests can be run directly by specifying the QEMU binary with the QTEST_QEMU_BINARY environment variable, for example: $ QTEST_QEMU_BINARY=x86_64-softmmu/qemu-system-x86_64 tests/qtest/test-hmp However, if you specify a binary without a path, for example with QTEST_QEMU_BINARY=qemu-system-x86_64 if the QEMU binary is in your $PATH, then the test currently simply crashes. Let's try a little bit smarter here by looking for the final '-' instead of the slash. Message-Id: <20201012114816.43546-1-thuth@redhat.com> Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'scripts/oss-fuzz/minimize_qtest_trace.py')
0 files changed, 0 insertions, 0 deletions