<feed xmlns='http://www.w3.org/2005/Atom'>
<title>spice-common.git/tests, branch master</title>
<subtitle>spice-common</subtitle>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/fidencio/public_git/spice-common.git/'/>
<entry>
<title>Revert "Remove files moved to spice-protocol"</title>
<updated>2016-03-10T15:01:36+00:00</updated>
<author>
<name>Marc-André Lureau</name>
<email>marcandre.lureau@gmail.com</email>
</author>
<published>2016-03-10T14:18:06+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/fidencio/public_git/spice-common.git/commit/?id=1cd26b87c10870ea9bfb65b4640d2e318b45aafb'/>
<id>1cd26b87c10870ea9bfb65b4640d2e318b45aafb</id>
<content type='text'>
This reverts commit 7665dcf1bb2fa0b16b3d0015b28d7f5912664c3f.

Also revert the related build-sys changes to fix the build.

codegen generated code depends on spice-common code (marshaller,
messages etc), it makes more sense to keep the generator along
this. Otherwise a newer protocol release will fail to build older
projects.

*.proto files are required as well, since it generates code that parent
modules depend on unconditionnaly.

Signed-off-by: Marc-André Lureau &lt;marcandre.lureau@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit 7665dcf1bb2fa0b16b3d0015b28d7f5912664c3f.

Also revert the related build-sys changes to fix the build.

codegen generated code depends on spice-common code (marshaller,
messages etc), it makes more sense to keep the generator along
this. Otherwise a newer protocol release will fail to build older
projects.

*.proto files are required as well, since it generates code that parent
modules depend on unconditionnaly.

Signed-off-by: Marc-André Lureau &lt;marcandre.lureau@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>test-logging: unset G_MESSAGES_DEBUG</title>
<updated>2016-03-10T14:47:39+00:00</updated>
<author>
<name>Marc-André Lureau</name>
<email>marcandre.lureau@gmail.com</email>
</author>
<published>2016-03-10T14:45:43+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/fidencio/public_git/spice-common.git/commit/?id=f06f699d7817354a532f091f46044720f9045887'/>
<id>f06f699d7817354a532f091f46044720f9045887</id>
<content type='text'>
This test is sensitive to G_MESSAGES_DEBUG variable. Make it insensitive
by unsetting the environment variable.

Signed-off-by: Marc-André Lureau &lt;marcandre.lureau@redhat.com&gt;
Acked-by: Frediano Ziglio &lt;fziglio@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This test is sensitive to G_MESSAGES_DEBUG variable. Make it insensitive
by unsetting the environment variable.

Signed-off-by: Marc-André Lureau &lt;marcandre.lureau@redhat.com&gt;
Acked-by: Frediano Ziglio &lt;fziglio@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>log: Add test case for logging code</title>
<updated>2016-01-26T14:58:43+00:00</updated>
<author>
<name>Christophe Fergeau</name>
<email>cfergeau@redhat.com</email>
</author>
<published>2015-12-15T17:26:29+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/fidencio/public_git/spice-common.git/commit/?id=df56d585cbc928698be6da7476acbc1dffcfcd5b'/>
<id>df56d585cbc928698be6da7476acbc1dffcfcd5b</id>
<content type='text'>
This gives us a baseline of how the SPICE/glib integration is supposed
to behave.

Everything goes through glib logging facilities, and is impacted by
G_MESSAGES_DEBUG/G_DEBUG=fatal-{warnings,criticals}

Messages in the SPICE_LOG_DOMAIN log domain (output either through
spice_log() or g_log()) will also consider the legacy SPICE_DEBUG_LEVEL
and SPICE_ABORT_LEVEL environment variables. Messages in other domains
will not be impacted by these legacy environment variables.

If spice-common is built without SPICE_DISABLE_ABORT,
spice_return_if_fail()/spice_critical() will abort the program.
g_return_if_fail()/g_critical() will not abort the program.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This gives us a baseline of how the SPICE/glib integration is supposed
to behave.

Everything goes through glib logging facilities, and is impacted by
G_MESSAGES_DEBUG/G_DEBUG=fatal-{warnings,criticals}

Messages in the SPICE_LOG_DOMAIN log domain (output either through
spice_log() or g_log()) will also consider the legacy SPICE_DEBUG_LEVEL
and SPICE_ABORT_LEVEL environment variables. Messages in other domains
will not be impacted by these legacy environment variables.

If spice-common is built without SPICE_DISABLE_ABORT,
spice_return_if_fail()/spice_critical() will abort the program.
g_return_if_fail()/g_critical() will not abort the program.
</pre>
</div>
</content>
</entry>
<entry>
<title>tests: Always build tests</title>
<updated>2016-01-26T14:58:43+00:00</updated>
<author>
<name>Christophe Fergeau</name>
<email>cfergeau@redhat.com</email>
</author>
<published>2016-01-21T10:15:14+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/fidencio/public_git/spice-common.git/commit/?id=417dbedc0b91a7a6aa00c97f7341689cc8de40b2'/>
<id>417dbedc0b91a7a6aa00c97f7341689cc8de40b2</id>
<content type='text'>
The next commit will introduce a test for log messages. As
libspice-common.la behaviour varies depending on whether
SPICE_DISABLE_ASSERT was defined at compile-time, this test will also
take into account this preprocessor define.
We are more likely to get a consistent build (SPICE_DISABLE_ASSERT being
the same when building libspice-common.la and the test) if both are
built at the same time.

This commit changes that, tests are now built (but not run) at 'make'
time rather than 'make check' time.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The next commit will introduce a test for log messages. As
libspice-common.la behaviour varies depending on whether
SPICE_DISABLE_ASSERT was defined at compile-time, this test will also
take into account this preprocessor define.
We are more likely to get a consistent build (SPICE_DISABLE_ASSERT being
the same when building libspice-common.la and the test) if both are
built at the same time.

This commit changes that, tests are now built (but not run) at 'make'
time rather than 'make check' time.
</pre>
</div>
</content>
</entry>
<entry>
<title>test: Use _LDADD rather than _LDFLAGS</title>
<updated>2015-12-16T14:03:53+00:00</updated>
<author>
<name>Christophe Fergeau</name>
<email>cfergeau@redhat.com</email>
</author>
<published>2015-12-16T11:14:22+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/fidencio/public_git/spice-common.git/commit/?id=02c82b468c7b04452ea6c216f756775101b7a326'/>
<id>02c82b468c7b04452ea6c216f756775101b7a326</id>
<content type='text'>
This allows libtool/automake to correctly add a dependency from
libspice-common.la to test_marshallers. With _LDFLAGS, the binary won't
automatically get rebuilt/relinked when the lib changes.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This allows libtool/automake to correctly add a dependency from
libspice-common.la to test_marshallers. With _LDFLAGS, the binary won't
automatically get rebuilt/relinked when the lib changes.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix make distcheck</title>
<updated>2015-11-25T13:05:42+00:00</updated>
<author>
<name>Marc-André Lureau</name>
<email>marcandre.lureau@gmail.com</email>
</author>
<published>2015-11-24T01:05:55+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/fidencio/public_git/spice-common.git/commit/?id=56a0cf2dad7d2dc4b75b379fdd5d0da63a827a1a'/>
<id>56a0cf2dad7d2dc4b75b379fdd5d0da63a827a1a</id>
<content type='text'>
Fix make distcheck both with standalone spice-common and with spice
server.

Signed-off-by: Marc-André Lureau &lt;marcandre.lureau@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix make distcheck both with standalone spice-common and with spice
server.

Signed-off-by: Marc-André Lureau &lt;marcandre.lureau@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Add marshaller test case</title>
<updated>2015-09-15T15:48:59+00:00</updated>
<author>
<name>Christophe Fergeau</name>
<email>cfergeau@redhat.com</email>
</author>
<published>2015-07-31T09:51:43+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/fidencio/public_git/spice-common.git/commit/?id=523875d8c5691bc07f4b50d89106f4f489400f0e'/>
<id>523875d8c5691bc07f4b50d89106f4f489400f0e</id>
<content type='text'>
This allows to test the spice_marshaller_linearize() fix which was sent
recently.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This allows to test the spice_marshaller_linearize() fix which was sent
recently.
</pre>
</div>
</content>
</entry>
</feed>
