<feed xmlns='http://www.w3.org/2005/Atom'>
<title>bwlp/qemu.git/tests/Makefile.include, branch master</title>
<subtitle>Experimental fork of QEMU with video encoding patches</subtitle>
<id>https://git.openslx.org/bwlp/qemu.git/atom/tests/Makefile.include?h=master</id>
<link rel='self' href='https://git.openslx.org/bwlp/qemu.git/atom/tests/Makefile.include?h=master'/>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/'/>
<updated>2022-10-06T10:53:40+00:00</updated>
<entry>
<title>configure: move tests/tcg/Makefile.prereqs to root build directory</title>
<updated>2022-10-06T10:53:40+00:00</updated>
<author>
<name>Paolo Bonzini</name>
</author>
<published>2022-09-29T11:42:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=b898bf28469847cbe4e576000e83ec103bf9b174'/>
<id>urn:sha1:b898bf28469847cbe4e576000e83ec103bf9b174</id>
<content type='text'>
It will not be specific to tests/tcg anymore, since it will be possible to
build firmware using container-based cross compilers too.

Signed-off-by: Paolo Bonzini &lt;pbonzini@redhat.com&gt;
Signed-off-by: Alex Bennée &lt;alex.bennee@linaro.org&gt;
Message-Id: &lt;20220929114231.583801-26-alex.bennee@linaro.org&gt;
</content>
</entry>
<entry>
<title>tests/tcg: add distclean rule</title>
<updated>2022-10-06T10:53:40+00:00</updated>
<author>
<name>Paolo Bonzini</name>
</author>
<published>2022-09-29T11:42:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=6ffe81370aab511f438ece256977def804f9b6e2'/>
<id>urn:sha1:6ffe81370aab511f438ece256977def804f9b6e2</id>
<content type='text'>
Signed-off-by: Paolo Bonzini &lt;pbonzini@redhat.com&gt;
Signed-off-by: Alex Bennée &lt;alex.bennee@linaro.org&gt;
Message-Id: &lt;20220929114231.583801-22-alex.bennee@linaro.org&gt;
</content>
</entry>
<entry>
<title>tests/tcg: remove -f from Makefile invocation</title>
<updated>2022-10-06T10:53:40+00:00</updated>
<author>
<name>Paolo Bonzini</name>
</author>
<published>2022-09-29T11:42:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=d674342e2e29feb7dd3ccf44e2116f78e611e906'/>
<id>urn:sha1:d674342e2e29feb7dd3ccf44e2116f78e611e906</id>
<content type='text'>
Instead of linking tests/tcg/Makefile.target into the build tree, name
the symbolic link "Makefile" and create it in every target subdirectory.
This makes it possible to just invoke "make" in tests/tcg subdirectories.

Signed-off-by: Paolo Bonzini &lt;pbonzini@redhat.com&gt;
Signed-off-by: Alex Bennée &lt;alex.bennee@linaro.org&gt;
Message-Id: &lt;20220929114231.583801-21-alex.bennee@linaro.org&gt;
</content>
</entry>
<entry>
<title>tests: simplify Makefile invocation for tests/tcg</title>
<updated>2022-10-06T10:53:40+00:00</updated>
<author>
<name>Paolo Bonzini</name>
</author>
<published>2022-09-29T11:41:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=a3e28f81fd886a79502d56ac3614d30bdf4a6dad'/>
<id>urn:sha1:a3e28f81fd886a79502d56ac3614d30bdf4a6dad</id>
<content type='text'>
Remove the DOCKER_SCRIPT and TARGET variable from the Makefile invocation
for tests/tcg.  For DOCKER_SCRIPT, resolve the path to docker.py in configure;
for TARGET, move it to config-$(TARGET).mak and use a symbolic link to break
the cycle.

The symbolic link is still needed because tests/tcg includes dummy config files
for targets that are not buildable.  Once that is cleaned up, the symbolic link
will go away too.

Signed-off-by: Paolo Bonzini &lt;pbonzini@redhat.com&gt;
Signed-off-by: Alex Bennée &lt;alex.bennee@linaro.org&gt;
Message-Id: &lt;20220929114231.583801-20-alex.bennee@linaro.org&gt;
</content>
</entry>
<entry>
<title>tests: install "qemu" namespace package into venv</title>
<updated>2022-06-06T07:26:54+00:00</updated>
<author>
<name>John Snow</name>
</author>
<published>2022-05-26T00:09:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=0e7647aa8a5d5b99a0ffb401ba75f0ae8c171c96'/>
<id>urn:sha1:0e7647aa8a5d5b99a0ffb401ba75f0ae8c171c96</id>
<content type='text'>
This patch adds the "qemu" namespace package to the $build/tests/venv
directory. It does so in "editable" mode, which means that changes to
the source python directory will actively be reflected by the venv.

This patch also then removes any sys.path hacking from the avocado test
scripts directly. By doing this, the environment of where to find these
packages is managed entirely by the virtual environment and not by the
scripts themselves.

Signed-off-by: John Snow &lt;jsnow@redhat.com&gt;
Reviewed-by: Paolo Bonzini &lt;pbonzini@redhat.com&gt;
Message-Id: &lt;20220526000921.1581503-7-jsnow@redhat.com&gt;
Signed-off-by: Paolo Bonzini &lt;pbonzini@redhat.com&gt;
</content>
</entry>
<entry>
<title>tests: add quiet-venv-pip macro</title>
<updated>2022-06-06T07:26:54+00:00</updated>
<author>
<name>John Snow</name>
</author>
<published>2022-05-26T00:09:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=5a6f1199cb5fca105ca99356ae05f8e48f5c8d97'/>
<id>urn:sha1:5a6f1199cb5fca105ca99356ae05f8e48f5c8d97</id>
<content type='text'>
Factor out the "test venv pip" macro; rewrite the "check-venv" rule to
be a little more compact. Replace the "PIP" pseudo-command output with
"VENVPIP" to make it 1% more clear that we are talking about using pip
to install something into a venv.

Signed-off-by: John Snow &lt;jsnow@redhat.com&gt;
Reviewed-by: Paolo Bonzini &lt;pbonzini@redhat.com&gt;
Message-Id: &lt;20220526000921.1581503-6-jsnow@redhat.com&gt;
Signed-off-by: Paolo Bonzini &lt;pbonzini@redhat.com&gt;
</content>
</entry>
<entry>
<title>tests: silence pip upgrade warnings during venv creation</title>
<updated>2022-06-06T07:26:54+00:00</updated>
<author>
<name>John Snow</name>
</author>
<published>2022-05-26T00:09:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=a547c82701925400949856488a2c8c8750a3276e'/>
<id>urn:sha1:a547c82701925400949856488a2c8c8750a3276e</id>
<content type='text'>
Turn off the nag warning coaxing us to upgrade pip. It's not really that
interesting to see in CI logs, and as long as nothing is broken --
nothing is broken.

Signed-off-by: John Snow &lt;jsnow@redhat.com&gt;
Reviewed-by: Paolo Bonzini &lt;pbonzini@redhat.com&gt;
Message-Id: &lt;20220526000921.1581503-5-jsnow@redhat.com&gt;
Signed-off-by: Paolo Bonzini &lt;pbonzini@redhat.com&gt;
</content>
</entry>
<entry>
<title>tests: use python3 as the python executable name</title>
<updated>2022-06-06T07:26:54+00:00</updated>
<author>
<name>John Snow</name>
</author>
<published>2022-05-26T00:09:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=aa19dd33ce616c1a34bb569da8e642f0b6f51fa0'/>
<id>urn:sha1:aa19dd33ce616c1a34bb569da8e642f0b6f51fa0</id>
<content type='text'>
Use "python3" instead of "python" as per PEP0394:
https://peps.python.org/pep-0394/

This should always be defined (in a venv, at least!), matching the
preferred python shebang of "#!/usr/bin/env python3".

Signed-off-by: John Snow &lt;jsnow@redhat.com&gt;
Reviewed-by: Paolo Bonzini &lt;pbonzini@redhat.com&gt;
Message-Id: &lt;20220526000921.1581503-4-jsnow@redhat.com&gt;
Signed-off-by: Paolo Bonzini &lt;pbonzini@redhat.com&gt;
</content>
</entry>
<entry>
<title>tests: add "TESTS_PYTHON" variable to Makefile</title>
<updated>2022-06-06T07:26:54+00:00</updated>
<author>
<name>John Snow</name>
</author>
<published>2022-05-26T00:09:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=caa0f7cbaf4159186d614849ddfbdd89f26d597c'/>
<id>urn:sha1:caa0f7cbaf4159186d614849ddfbdd89f26d597c</id>
<content type='text'>
This is a convenience feature: $(PYTHON) points to the Python executable
we were instructed to use by the configure script. We use that Python to
create a virtual environment with the "check-venv" target in
tests/Makefile.include.

$(TESTS_PYTHON) points to the Python executable belonging to the virtual
environment tied to the build. This Python executable is a symlink to
the binary used to create the venv, which will be the version provided
at configure time.

Using $(TESTS_PYTHON) therefore uses the $(PYTHON) executable, but with
paths modified to use packages installed to the venv.

Signed-off-by: John Snow &lt;jsnow@redhat.com&gt;
Reviewed-by: Paolo Bonzini &lt;pbonzini@redhat.com&gt;
Message-Id: &lt;20220526000921.1581503-3-jsnow@redhat.com&gt;
Signed-off-by: Paolo Bonzini &lt;pbonzini@redhat.com&gt;
</content>
</entry>
<entry>
<title>tests/Makefile.include: Fix 'make check-help' output</title>
<updated>2022-06-06T07:26:54+00:00</updated>
<author>
<name>Dario Faggioli</name>
</author>
<published>2022-05-27T15:30:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=d426ff938b3f95e0b04bb410d47ae50359340a16'/>
<id>urn:sha1:d426ff938b3f95e0b04bb410d47ae50359340a16</id>
<content type='text'>
Since commit 3d2f73ef75e ("build: use "meson test" as the test harness"),
check-report.tap is no more, and we have check-report.junit.xml.

Update the output of 'make check-help', which was still listing
'check-report.tap', accordingly.

Fixes: 3d2f73ef75e
Signed-off-by: Dario Faggioli &lt;dfaggioli@suse.com&gt;
Message-Id: &lt;165366545439.6869.11633009118019728798.stgit@work&gt;
Reviewed-by: Philippe Mathieu-Daudé &lt;f4bug@amsat.org&gt;
Signed-off-by: Paolo Bonzini &lt;pbonzini@redhat.com&gt;
</content>
</entry>
</feed>
