[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 1/7] iotests: allow Valgrind checking all QEMU p
From: |
Eric Blake |
Subject: |
Re: [Qemu-devel] [PATCH 1/7] iotests: allow Valgrind checking all QEMU processes |
Date: |
Mon, 10 Jun 2019 09:24:03 -0500 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 |
On 6/9/19 1:35 PM, Andrey Shinkevich wrote:
> With the '-valgrind' option, let all the QEMU processes be run under
> the Valgrind tool. The Valgrind own parameters may be set with its
> environment variable VALGRIND_OPTS, e.g.
> VALGRIND_OPTS="--leak-check=yes" ./check -qcow2 -valgrind <test#>
Let's spell this --valgrind; long options should prefer the use of --
(as in getopt_long), whether or not we also have a reason to support
-valgrind (as in getopt_long_only). Yes, qemu is an oddball in this
regards, but no need to make it worse.
>
> Signed-off-by: Andrey Shinkevich <address@hidden>
> ---
> tests/qemu-iotests/common.rc | 65
> ++++++++++++++++++++++++++++++++------------
> 1 file changed, 48 insertions(+), 17 deletions(-)
>
> diff --git a/tests/qemu-iotests/common.rc b/tests/qemu-iotests/common.rc
> index 93f8738..3caaca4 100644
--
Eric Blake, Principal Software Engineer
Red Hat, Inc. +1-919-301-3226
Virtualization: qemu.org | libvirt.org
signature.asc
Description: OpenPGP digital signature
- [Qemu-devel] [PATCH 0/7] Allow Valgrind checking all QEMU processes, Andrey Shinkevich, 2019/06/09
- [Qemu-devel] [PATCH 2/7] iotests: amendment for benchmark output of 039 061 137, Andrey Shinkevich, 2019/06/09
- [Qemu-devel] [PATCH 5/7] iotests: extended timeout under Valgrind, Andrey Shinkevich, 2019/06/09
- [Qemu-devel] [PATCH 4/7] iotests: Valgrind fails to work with nonexistent directory, Andrey Shinkevich, 2019/06/09
- [Qemu-devel] [PATCH 6/7] iotests: extend sleeping time under Valgrind, Andrey Shinkevich, 2019/06/09
- [Qemu-devel] [PATCH 3/7] iotests: exclude killed processes from running under Valgrind, Andrey Shinkevich, 2019/06/09