[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 5/9] tests: add quiet-venv-pip macro
From: |
Paolo Bonzini |
Subject: |
Re: [PATCH 5/9] tests: add quiet-venv-pip macro |
Date: |
Thu, 26 May 2022 21:54:42 +0200 |
On Thu, May 26, 2022 at 4:17 PM John Snow <jsnow@redhat.com> wrote:
>> > - $(call quiet-command, \
>> > - $(TESTS_PYTHON) -m pip -q --disable-pip-version-check install
>> > \
>> > - -r $(TESTS_VENV_REQ), PIP, $(TESTS_VENV_REQ))
>> > + $(call quiet-command, $(PYTHON) -m venv $@, VENV, $@)
>> > + $(call quiet-venv-pip,install -r $(TESTS_VENV_REQ))
>> > $(call quiet-command, touch $@)
>> >
>> > $(TESTS_RESULTS_DIR):
>>
>> Sooner or later I'd like quiet-command to be changed to English
>> descriptions like the ones currently emitted during the ninja build, but
>> stuff for later.
>
> If it helps, this is a bit of a stopgap on the way to the configure-driven
> version; ideally this goes away by the end of this little project.
>
> (I just thought it made the recipes read nicer and reduced the chance for
> anyone else getting the pip flags wrong in the interim.)
Don't worry, you're at least consistent with the current way the macros work.
Paolo
- [PATCH 0/9] tests, python: prepare to expand usage of test venv, John Snow, 2022/05/25
- [PATCH 1/9] python: update for mypy 0.950, John Snow, 2022/05/25
- [PATCH 2/9] tests: add "TESTS_PYTHON" variable to Makefile, John Snow, 2022/05/25
- [PATCH 3/9] tests: use python3 as the python executable name, John Snow, 2022/05/25
- [PATCH 4/9] tests: silence pip upgrade warnings during venv creation, John Snow, 2022/05/25
- [PATCH 5/9] tests: add quiet-venv-pip macro, John Snow, 2022/05/25
- Re: [PATCH 5/9] tests: add quiet-venv-pip macro, Paolo Bonzini, 2022/05/26
- [PATCH 6/9] tests: install "qemu" namespace package into venv, John Snow, 2022/05/25
- [PATCH 7/9] tests: use tests/venv to run basevm.py-based scripts, John Snow, 2022/05/25
- [PATCH 9/9] tests: run 'device-crash-test' from tests/venv, John Snow, 2022/05/25
- [PATCH 8/9] tests: add python3-venv to debian10.docker, John Snow, 2022/05/25