<feed xmlns='http://www.w3.org/2005/Atom'>
<title>bwlp/qemu.git/tests/docker/run, branch spice_video_codecs</title>
<subtitle>Experimental fork of QEMU with video encoding patches</subtitle>
<id>https://git.openslx.org/bwlp/qemu.git/atom/tests/docker/run?h=spice_video_codecs</id>
<link rel='self' href='https://git.openslx.org/bwlp/qemu.git/atom/tests/docker/run?h=spice_video_codecs'/>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/'/>
<updated>2022-10-06T10:53:20+00:00</updated>
<entry>
<title>tests/docker: run script use realpath instead of readlink</title>
<updated>2022-10-06T10:53:20+00:00</updated>
<author>
<name>Lucas Mateus Castro (alqotel)</name>
</author>
<published>2022-09-29T11:41:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=f0c67a79ef7acce9305092f685da5d15c03502b4'/>
<id>urn:sha1:f0c67a79ef7acce9305092f685da5d15c03502b4</id>
<content type='text'>
The alpine docker image only comes with busybox, which doesn't have the
'-e' option on its readlink, so change it to 'realpath' to avoid that
problem.

Suggested-by: Daniel P. Berrangé &lt;berrange@redhat.com&gt;
Signed-off-by: Lucas Mateus Castro (alqotel) &lt;lucas.araujo@eldorado.org.br&gt;
Message-Id: &lt;20220922135516.33627-5-lucas.araujo@eldorado.org.br&gt;
Signed-off-by: Alex Bennée &lt;alex.bennee@linaro.org&gt;
Message-Id: &lt;20220929114231.583801-5-alex.bennee@linaro.org&gt;
</content>
</entry>
<entry>
<title>tests/docker: remove FEATURES env var from templates</title>
<updated>2021-07-14T13:33:53+00:00</updated>
<author>
<name>Daniel P. Berrangé</name>
</author>
<published>2021-07-09T14:29:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=888673bbb9f5dc8e35c4747ddd1addba251a9a47'/>
<id>urn:sha1:888673bbb9f5dc8e35c4747ddd1addba251a9a47</id>
<content type='text'>
In preparation for switching to auto-generated dockerfiles, remove the
FEATURES env variable. The equivalent functionality can be achieved in
most cases by just looking for existance of a binary.

The cases which don't correspond to binaries are simply dropped because
configure/meson will probe for any requested feature anyway.

Signed-off-by: Daniel P. Berrangé &lt;berrange@redhat.com&gt;
Signed-off-by: Alex Bennée &lt;alex.bennee@linaro.org&gt;
Reviewed-by: Philippe Mathieu-Daudé &lt;philmd@redhat.com&gt;
Reviewed-by: Willian Rampazzo &lt;willianr@redhat.com&gt;
Reviewed-by: Alex Bennée &lt;alex.bennee@linaro.org&gt;
Message-Id: &lt;20210623142245.307776-6-berrange@redhat.com&gt;
Message-Id: &lt;20210709143005.1554-14-alex.bennee@linaro.org&gt;
</content>
</entry>
<entry>
<title>tests/docker: avoid $SHELL invoke bash directly</title>
<updated>2019-09-10T13:14:31+00:00</updated>
<author>
<name>Alex Bennée</name>
</author>
<published>2019-08-14T09:54:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=bf5b512cd416b165a677e47229f8968b461b9004'/>
<id>urn:sha1:bf5b512cd416b165a677e47229f8968b461b9004</id>
<content type='text'>
On some images SHELL is pointing at a limited /bin/sh which doesn't
understand noprofile/norc. Given the run script is running bash just
invoke it directly.

This fixes:

  $ make docker-test-build@IMAGE DEBUG=1
  [...]
  + echo '  ./test-build'
  ./test-build
  + echo '* Hit Ctrl-D to continue, or type '\''exit 1'\'' to abort'
  * Hit Ctrl-D to continue, or type 'exit 1' to abort
  + echo
  + /bin/sh --noprofile --norc
  /bin/sh: 0: Illegal option --

Fixes: 2b0c4fa13f3
Signed-off-by: Alex Bennée &lt;alex.bennee@linaro.org&gt;
Reviewed-by: Philippe Mathieu-Daudé &lt;philmd@redhat.com&gt;
Tested-by: Philippe Mathieu-Daudé &lt;philmd@redhat.com&gt;
</content>
</entry>
<entry>
<title>tests/docker: invoke the DEBUG shell with --noprofile/--norc</title>
<updated>2019-07-23T14:53:25+00:00</updated>
<author>
<name>Alex Bennée</name>
</author>
<published>2019-07-17T10:40:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=2b0c4fa13f3dd31162582f3bcab635c9026cafac'/>
<id>urn:sha1:2b0c4fa13f3dd31162582f3bcab635c9026cafac</id>
<content type='text'>
It's very confusing when things work in the debug shell because the
environment is different from what the test is running. Fix this by
ensuring we only have the inherited environment from the run shell.

Signed-off-by: Alex Bennée &lt;alex.bennee@linaro.org&gt;
Reviewed-by: Philippe Mathieu-Daudé &lt;philmd@redhat.com&gt;
</content>
</entry>
<entry>
<title>docker: Inline "prep_fail" in run script</title>
<updated>2018-04-09T07:13:02+00:00</updated>
<author>
<name>Fam Zheng</name>
</author>
<published>2018-03-26T09:03:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=185809224a771e0d010046bc77168d4ff5f6096e'/>
<id>urn:sha1:185809224a771e0d010046bc77168d4ff5f6096e</id>
<content type='text'>
We don't source common.rc where prep_fail is defined, so spell out the
commands and do what was intended.

Signed-off-by: Fam Zheng &lt;famz@redhat.com&gt;
Message-Id: &lt;20180326090350.30014-1-famz@redhat.com&gt;
Reviewed-by: Thomas Huth &lt;thuth@redhat.com&gt;
Signed-off-by: Fam Zheng &lt;famz@redhat.com&gt;
</content>
</entry>
<entry>
<title>docker: Fix PATH for ccache</title>
<updated>2017-10-20T06:28:50+00:00</updated>
<author>
<name>Fam Zheng</name>
</author>
<published>2017-10-18T07:38:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=6a2e11974fa6c4eaee6b2b156b1b4e03ca983bab'/>
<id>urn:sha1:6a2e11974fa6c4eaee6b2b156b1b4e03ca983bab</id>
<content type='text'>
Before bcd7f06f57fb6f780a3e2f7a46c22b6f6c8238aa we source /etc/profile
so the PATH included the right paths to ccache binaries. Now we need to
update $PATH explicitly from run script.

Keep the old /usr/lib around just so that in the future, ccache from 32
bit images will just work.

Signed-off-by: Fam Zheng &lt;famz@redhat.com&gt;
Message-Id: &lt;20171018073841.30062-1-famz@redhat.com&gt;
Signed-off-by: Fam Zheng &lt;famz@redhat.com&gt;
</content>
</entry>
<entry>
<title>tests/docker/run: don't source /etc/profile</title>
<updated>2017-09-29T03:14:15+00:00</updated>
<author>
<name>Alex Bennée</name>
</author>
<published>2017-09-26T13:36:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=bcd7f06f57fb6f780a3e2f7a46c22b6f6c8238aa'/>
<id>urn:sha1:bcd7f06f57fb6f780a3e2f7a46c22b6f6c8238aa</id>
<content type='text'>
The usual behaviour of /etc/profile is to set the default PATH for
users. This runs into problems when we have updated PATH in our
dockerfile e.g. to access a cross-compiler in a non-standard
location. It shouldn't be needed anyway as we inherit the env from the
image when it was setup.

Signed-off-by: Alex Bennée &lt;alex.bennee@linaro.org&gt;
CC: Philippe Mathieu-Daudé &lt;f4bug@amsat.org&gt;
Message-Id: &lt;20170926133622.14991-1-alex.bennee@linaro.org&gt;
Reviewed-by: Philippe Mathieu-Daudé &lt;f4bug@amsat.org&gt;
Signed-off-by: Fam Zheng &lt;famz@redhat.com&gt;
</content>
</entry>
<entry>
<title>docker: Fix test-mingw</title>
<updated>2017-09-29T03:14:14+00:00</updated>
<author>
<name>Fam Zheng</name>
</author>
<published>2017-09-25T08:29:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=299d296ea90cca388b3a1fb316c797da5b6a6708'/>
<id>urn:sha1:299d296ea90cca388b3a1fb316c797da5b6a6708</id>
<content type='text'>
Feature "dtc" is explicitly required by test-mingw, but is not detected
by the run script since we switched to archive-source.sh in b7f404201e4.
Since it isn't available in the Fedora image which runs this test on
patchew, the way we get dtc is still from submodule.

archive-source.sh takes care of bundling the submodule files already, so
what we need to do is just checking if files are there. Makefile is
chosen because it is one that is unlikely to get renamed in the future.

Signed-off-by: Fam Zheng &lt;famz@redhat.com&gt;
Message-Id: &lt;20170925082913.22089-1-famz@redhat.com&gt;
Reviewed-by: Alistair Francis &lt;alistair.francis@xilinx.com&gt;
Signed-off-by: Fam Zheng &lt;famz@redhat.com&gt;
</content>
</entry>
<entry>
<title>docker: Drop 'set -e' from run script</title>
<updated>2017-09-22T06:51:43+00:00</updated>
<author>
<name>Fam Zheng</name>
</author>
<published>2017-09-05T02:56:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=4f6afe41f2ee3d8170eef7a9122d256588b707b2'/>
<id>urn:sha1:4f6afe41f2ee3d8170eef7a9122d256588b707b2</id>
<content type='text'>
Signed-off-by: Fam Zheng &lt;famz@redhat.com&gt;
</content>
</entry>
<entry>
<title>docker: Use archive-source.py</title>
<updated>2017-09-22T06:51:43+00:00</updated>
<author>
<name>Fam Zheng</name>
</author>
<published>2017-09-05T02:12:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=b7f404201e45e99da23b9764dec27ce5f965cdcd'/>
<id>urn:sha1:b7f404201e45e99da23b9764dec27ce5f965cdcd</id>
<content type='text'>
Signed-off-by: Fam Zheng &lt;famz@redhat.com&gt;
Reviewed-by: Alex Bennée &lt;alex.bennee@linaro.org&gt;
</content>
</entry>
</feed>
