[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v7 08/11] iotests: add testenv.py
From: |
Kevin Wolf |
Subject: |
Re: [PATCH v7 08/11] iotests: add testenv.py |
Date: |
Fri, 22 Jan 2021 15:34:53 +0100 |
Am 16.01.2021 um 14:44 hat Vladimir Sementsov-Ogievskiy geschrieben:
> Add TestEnv class, which will handle test environment in a new python
> iotests running framework.
>
> Difference with current ./check interface:
> - -v (verbose) option dropped, as it is unused
>
> - -xdiff option is dropped, until somebody complains that it is needed
> - same for -n option
> - same for looking for binaries in $build_iotests directory.
>
> Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
> + if self.imgfmt == 'luks':
> + self.imgoptssyntax = 'true'
> + self.imgkeysecret = '123456'
> + if not self.imgopts:
> + self.imgopts = 'iter-time=10'
> + elif 'iter-time=' not in self.imgopts:
> + self.imgopts += ',iter-time=10'
> + else:
> + self.imgoptssyntax = 'false'
> + self.qemu_io_options += ' -f ' + self.imgfmt
> +
> + if self.imgfmt == 'vmkd':
This should be 'vmdk', of course.
> + if not self.imgopts:
> + self.imgopts = 'zeroed_grain=on'
> + elif 'zeroed_grain=' not in self.imgopts:
> + self.imgopts += ',zeroed_grain=on'
Kevin
- [PATCH v7 00/11] Rework iotests/check, Vladimir Sementsov-Ogievskiy, 2021/01/16
- [PATCH v7 01/11] iotests/277: use dot slash for nbd-fault-injector.py running, Vladimir Sementsov-Ogievskiy, 2021/01/16
- [PATCH v7 02/11] iotests/303: use dot slash for qcow2.py running, Vladimir Sementsov-Ogievskiy, 2021/01/16
- [PATCH v7 03/11] iotests: fix some whitespaces in test output files, Vladimir Sementsov-Ogievskiy, 2021/01/16
- [PATCH v7 04/11] iotests: make tests executable, Vladimir Sementsov-Ogievskiy, 2021/01/16
- [PATCH v7 05/11] iotests/294: add shebang line, Vladimir Sementsov-Ogievskiy, 2021/01/16
- [PATCH v7 11/11] iotests: rename and move 169 and 199 tests, Vladimir Sementsov-Ogievskiy, 2021/01/16
- [PATCH v7 08/11] iotests: add testenv.py, Vladimir Sementsov-Ogievskiy, 2021/01/16
- [PATCH v7 07/11] iotests: add findtests.py, Vladimir Sementsov-Ogievskiy, 2021/01/16
- Re: [PATCH v7 07/11] iotests: add findtests.py, Eric Blake, 2021/01/21
- Re: [PATCH v7 07/11] iotests: add findtests.py, Eric Blake, 2021/01/21
- Re: [PATCH v7 07/11] iotests: add findtests.py, Kevin Wolf, 2021/01/22
- Re: [PATCH v7 07/11] iotests: add findtests.py, Vladimir Sementsov-Ogievskiy, 2021/01/22
- Re: [PATCH v7 07/11] iotests: add findtests.py, Kevin Wolf, 2021/01/22
- Re: [PATCH v7 07/11] iotests: add findtests.py, Vladimir Sementsov-Ogievskiy, 2021/01/22
- Re: [PATCH v7 07/11] iotests: add findtests.py, Kevin Wolf, 2021/01/22
- Re: [PATCH v7 07/11] iotests: add findtests.py, Vladimir Sementsov-Ogievskiy, 2021/01/22