<feed xmlns='http://www.w3.org/2005/Atom'>
<title>bwlp/qemu.git/tests/multiboot, 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/multiboot?h=spice_video_codecs</id>
<link rel='self' href='https://git.openslx.org/bwlp/qemu.git/atom/tests/multiboot?h=spice_video_codecs'/>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/'/>
<updated>2020-10-13T10:48:17+00:00</updated>
<entry>
<title>Remove superfluous .gitignore files</title>
<updated>2020-10-13T10:48:17+00:00</updated>
<author>
<name>Thomas Huth</name>
</author>
<published>2020-09-19T10:27:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=2ae00c8b2f7536f1bb38c3eb40d76f4196c61d0c'/>
<id>urn:sha1:2ae00c8b2f7536f1bb38c3eb40d76f4196c61d0c</id>
<content type='text'>
Since we are now always doing out-of-tree builds, these gitignore
files should not be necessary anymore.

Message-Id: &lt;20200919133637.72744-1-thuth@redhat.com&gt;
Signed-off-by: Thomas Huth &lt;thuth@redhat.com&gt;
</content>
</entry>
<entry>
<title>meson: link emulators without Makefile.target</title>
<updated>2020-08-21T10:30:40+00:00</updated>
<author>
<name>Paolo Bonzini</name>
</author>
<published>2020-08-03T15:04:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=64ed6f92ffebb419ba71ef61e7bdb5f165c5043a'/>
<id>urn:sha1:64ed6f92ffebb419ba71ef61e7bdb5f165c5043a</id>
<content type='text'>
The binaries move to the root directory, e.g. qemu-system-i386 or
qemu-arm.  This requires changes to qtests, CI, etc.

Signed-off-by: Marc-André Lureau &lt;marcandre.lureau@redhat.com&gt;
Signed-off-by: Paolo Bonzini &lt;pbonzini@redhat.com&gt;
</content>
</entry>
<entry>
<title>tests/multiboot: Fix load address of test kernels</title>
<updated>2019-07-30T10:25:43+00:00</updated>
<author>
<name>Kevin Wolf</name>
</author>
<published>2019-07-22T09:26:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=6078a0b64f23b40a9f5405bb39662412f536d7d6'/>
<id>urn:sha1:6078a0b64f23b40a9f5405bb39662412f536d7d6</id>
<content type='text'>
While older toolchains produced binaries where the physical load address
of ELF segments was the same as the virtual address, newer versions seem
to choose a different physical address if it isn't specified explicitly.
The means that the test kernel doesn't use the right addresses to access
e.g. format strings any more and the whole output disappears, causing
all test cases to fail.

Fix this by specifying the physical load address of sections explicitly.

Signed-off-by: Kevin Wolf &lt;kwolf@redhat.com&gt;
</content>
</entry>
<entry>
<title>tests/multiboot: Improve portability by searching bash in the $PATH</title>
<updated>2019-03-08T11:26:45+00:00</updated>
<author>
<name>Philippe Mathieu-Daudé</name>
</author>
<published>2019-03-07T14:58:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=a03700fd3efdc7cff0e6310047e624d906645e46'/>
<id>urn:sha1:a03700fd3efdc7cff0e6310047e624d906645e46</id>
<content type='text'>
Bash is not always installed as /bin/bash. In particular on OpenBSD,
the package installs it in /usr/local/bin.
Use the 'env' shebang to search bash in the $PATH.

Reviewed-by: Kamil Rytarowski &lt;n54@gmx.com&gt;
Reviewed-by: Eric Blake &lt;eblake@redhat.com&gt;
Signed-off-by: Philippe Mathieu-Daudé &lt;philmd@redhat.com&gt;
Signed-off-by: Kevin Wolf &lt;kwolf@redhat.com&gt;
</content>
</entry>
<entry>
<title>tests/multiboot: Add .gitignore</title>
<updated>2018-03-21T14:13:40+00:00</updated>
<author>
<name>Kevin Wolf</name>
</author>
<published>2018-03-14T12:34:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=e2679395d598bd40770c22a793c0152576ac211f'/>
<id>urn:sha1:e2679395d598bd40770c22a793c0152576ac211f</id>
<content type='text'>
Signed-off-by: Kevin Wolf &lt;kwolf@redhat.com&gt;
Reviewed-by: Jack Schwartz &lt;jack.schwartz@oracle.com&gt;
Reviewed-by: Eric Blake &lt;eblake@redhat.com&gt;
</content>
</entry>
<entry>
<title>tests/multiboot: Add tests for the a.out kludge</title>
<updated>2018-03-21T14:13:25+00:00</updated>
<author>
<name>Kevin Wolf</name>
</author>
<published>2018-03-14T12:33:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=1c8c426fb44bf5b3ffbcad1b00c7def4b89b03ec'/>
<id>urn:sha1:1c8c426fb44bf5b3ffbcad1b00c7def4b89b03ec</id>
<content type='text'>
Signed-off-by: Kevin Wolf &lt;kwolf@redhat.com&gt;
Reviewed-by: Jack Schwartz &lt;jack.schwartz@oracle.com&gt;
</content>
</entry>
<entry>
<title>tests/multiboot: Test exit code for every qemu run</title>
<updated>2018-03-21T14:13:25+00:00</updated>
<author>
<name>Kevin Wolf</name>
</author>
<published>2018-03-14T12:29:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=49713c413a65ab4b02124aabe83f8539cc6ece5e'/>
<id>urn:sha1:49713c413a65ab4b02124aabe83f8539cc6ece5e</id>
<content type='text'>
Testing the exit code only once after a whole group of tests has
completed is not enough, it catches errors only in the very last qemu
invocation. We need to have the check after each qemu run.

The logging and diff with the reference output is still done once per
group to keep things more managable. This is not a problem because the
log file accumulates the output of all runs.

Signed-off-by: Kevin Wolf &lt;kwolf@redhat.com&gt;
Reviewed-by: Jack Schwartz &lt;jack.schwartz@oracle.com&gt;
</content>
</entry>
<entry>
<title>tests/multiboot: Fix whitespace failure</title>
<updated>2017-08-11T11:23:19+00:00</updated>
<author>
<name>Eric Blake</name>
</author>
<published>2017-08-08T14:34:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=01a02ec4f6b6a12df7acfb6ad820b384b48cbf70'/>
<id>urn:sha1:01a02ec4f6b6a12df7acfb6ad820b384b48cbf70</id>
<content type='text'>
Commit b43671f8 accidentally broke run_test.sh within tests/multiboot;
due to a subtle change in whitespace.

These two commands produce theh same output (at least, for sane $IFS
of space-tab-newline):

echo -e "...$@..."
echo -e "...$*..."

But that's only because echo inserts spaces between multiple arguments
(the $@ case), while the $* form gives a single argument to echo with
the spaces already present.

But when converting to printf %b, there are no automatic spaces between
multiple arguments, so we HAVE to use $*.

It doesn't help that run_test.sh isn't part of 'make check'.

Signed-off-by: Eric Blake &lt;eblake@redhat.com&gt;
Signed-off-by: Kevin Wolf &lt;kwolf@redhat.com&gt;
</content>
</entry>
<entry>
<title>tests: Avoid non-portable 'echo -ARG'</title>
<updated>2017-07-11T15:45:00+00:00</updated>
<author>
<name>Eric Blake</name>
</author>
<published>2017-07-03T18:09:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=b43671f80cda8d0f11dcb929ed76fbd680c29cec'/>
<id>urn:sha1:b43671f80cda8d0f11dcb929ed76fbd680c29cec</id>
<content type='text'>
POSIX says that backslashes in the arguments to 'echo', as well as
any use of 'echo -n' and 'echo -e', are non-portable; it recommends
people should favor 'printf' instead.  This is definitely true where
we do not control which shell is running (such as in makefile snippets
or in documentation examples).  But even for scripts where we
require bash (and therefore, where echo does what we want by default),
it is still possible to use 'shopt -s xpg_echo' to change bash's
behavior of echo.  And setting a good example never hurts when we are
not sure if a snippet will be copied from a bash-only script to a
general shell script (although I don't change the use of non-portable
\e for ESC when we know the running shell is bash).

Replace 'echo -n "..."' with 'printf %s "..."', and 'echo -e "..."'
with 'printf %b "...\n"', with the optimization that the %s/%b
argument can be omitted if the string being printed is a strict
literal with no '%', '$', or '`' (we could technically also make
this optimization when there are $ or `` substitutions but where
we can prove their results will not be problematic, but proving
that such substitutions are safe makes the patch less trivial
compared to just being consistent).

In the qemu-iotests check script, fix unusual shell quoting
that would result in word-splitting if 'date' outputs a space.

In test 051, take an opportunity to shorten the line.

In test 068, get rid of a pointless second invocation of bash.

CC: qemu-trivial@nongnu.org
Signed-off-by: Eric Blake &lt;eblake@redhat.com&gt;
Message-id: 20170703180950.9895-1-eblake@redhat.com
Signed-off-by: Max Reitz &lt;mreitz@redhat.com&gt;
</content>
</entry>
<entry>
<title>tests/multiboot: Add test for modules</title>
<updated>2015-01-26T11:22:44+00:00</updated>
<author>
<name>Kevin Wolf</name>
</author>
<published>2015-01-15T11:26:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=a9c837d8ef573604328e4cb61e2e0cab61bba319'/>
<id>urn:sha1:a9c837d8ef573604328e4cb61e2e0cab61bba319</id>
<content type='text'>
This test case is meant to detect corruptions of the Multiboot modules
as well as the multiboot modules list and the module command lines.

Signed-off-by: Kevin Wolf &lt;kwolf@redhat.com&gt;
Signed-off-by: Paolo Bonzini &lt;pbonzini@redhat.com&gt;
</content>
</entry>
</feed>
