<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/buildstream.git/tests, branch juerg/workspace-cache-keys</title>
<subtitle>gitlab.com: buildstream/buildstream.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/buildstream.git/'/>
<entry>
<title>tests/frontend/workspace.py: Add cache key checks to test_build</title>
<updated>2018-02-27T10:01:16+00:00</updated>
<author>
<name>Jürg Billeter</name>
<email>j@bitron.ch</email>
</author>
<published>2018-02-27T09:44:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/buildstream.git/commit/?id=25a364f7663beb9488659f174f73a63a08f77447'/>
<id>25a364f7663beb9488659f174f73a63a08f77447</id>
<content type='text'>
Regression test for #273
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Regression test for #273
</pre>
</div>
</content>
</entry>
<entry>
<title>tests/frontend/pull.py: Do not use a workspace for the non-strict test</title>
<updated>2018-02-27T10:01:16+00:00</updated>
<author>
<name>Jürg Billeter</name>
<email>j@bitron.ch</email>
</author>
<published>2018-02-27T08:52:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/buildstream.git/commit/?id=e00dd4bcb1e6001f8ae9bf767a5f7f4bf54c4bef'/>
<id>e00dd4bcb1e6001f8ae9bf767a5f7f4bf54c4bef</id>
<content type='text'>
The cache status of reverse dependencies of workspaced elements cannot
always be determined upfront.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The cache status of reverse dependencies of workspaced elements cannot
always be determined upfront.
</pre>
</div>
</content>
</entry>
<entry>
<title>tests/frontend/push.py: Test that we don't push stuff that we just pulled</title>
<updated>2018-02-26T15:04:18+00:00</updated>
<author>
<name>Sam Thursfield</name>
<email>sam.thursfield@codethink.co.uk</email>
</author>
<published>2018-02-14T17:23:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/buildstream.git/commit/?id=0c7bd18dc387b4d3d140b18a42e0662253dffbea'/>
<id>0c7bd18dc387b4d3d140b18a42e0662253dffbea</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>tests/frontend: Summarize the existing push and pull tests</title>
<updated>2018-02-26T15:04:17+00:00</updated>
<author>
<name>Sam Thursfield</name>
<email>sam.thursfield@codethink.co.uk</email>
</author>
<published>2018-02-14T16:57:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/buildstream.git/commit/?id=ba4919a4347f630571a5d5248b455e3e344f8a6d'/>
<id>ba4919a4347f630571a5d5248b455e3e344f8a6d</id>
<content type='text'>
These tests are too long to understand at a glance so a summary is
needed of each.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
These tests are too long to understand at a glance so a summary is
needed of each.
</pre>
</div>
</content>
</entry>
<entry>
<title>tests/integration/shell.py: Added tests for inheriting environment variables</title>
<updated>2018-02-24T15:34:39+00:00</updated>
<author>
<name>Tristan Van Berkom</name>
<email>tristan.vanberkom@codethink.co.uk</email>
</author>
<published>2018-02-23T12:26:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/buildstream.git/commit/?id=9632eafb970cab601cc647b4df05f92518882d25'/>
<id>9632eafb970cab601cc647b4df05f92518882d25</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>tests/integration/shell.py: Dont use shlex, use command vectors</title>
<updated>2018-02-24T15:34:39+00:00</updated>
<author>
<name>Tristan Van Berkom</name>
<email>tristan.vanberkom@codethink.co.uk</email>
</author>
<published>2018-02-24T09:27:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/buildstream.git/commit/?id=0d5ba30e9a917d9f574f0c468678148136a7f2e5'/>
<id>0d5ba30e9a917d9f574f0c468678148136a7f2e5</id>
<content type='text'>
Using shlex messes with the argv we want to pass to a shell, this
was not working for the newly added test which passes "${var}" strings
as arguments to the shell.

Also, removed a redundant line to explicitly build something
in the 'no_shell' test; that is taken care of by the helper.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Using shlex messes with the argv we want to pass to a shell, this
was not working for the newly added test which passes "${var}" strings
as arguments to the shell.

Also, removed a redundant line to explicitly build something
in the 'no_shell' test; that is taken care of by the helper.
</pre>
</div>
</content>
</entry>
<entry>
<title>testutils/runcli.py: Print something helpful if BuildStream fails to exit properly</title>
<updated>2018-02-24T15:34:39+00:00</updated>
<author>
<name>Tristan Van Berkom</name>
<email>tristan.vanberkom@codethink.co.uk</email>
</author>
<published>2018-02-24T09:25:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/buildstream.git/commit/?id=c5448d1400aa70ae7fd4281d2c855e89686f1200'/>
<id>c5448d1400aa70ae7fd4281d2c855e89686f1200</id>
<content type='text'>
When testing a recent patch, I had missed a return of the exit code
in `bst shell` resulting in the CLI exiting with `None`; this patch
makes the fixture more helpful, where previously it just printed `None`
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When testing a recent patch, I had missed a return of the exit code
in `bst shell` resulting in the CLI exiting with `None`; this patch
makes the fixture more helpful, where previously it just printed `None`
</pre>
</div>
</content>
</entry>
<entry>
<title>tests/integration/base/generate-base.sh: Typo fix in comment</title>
<updated>2018-02-21T11:33:42+00:00</updated>
<author>
<name>Sam Thursfield</name>
<email>sam.thursfield@codethink.co.uk</email>
</author>
<published>2018-02-21T11:33:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/buildstream.git/commit/?id=2e6566e2bf7a5a06a4eb01256dd03d57ea59f6dd'/>
<id>2e6566e2bf7a5a06a4eb01256dd03d57ea59f6dd</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>tests/integration: Use a minimal custom base sysroot</title>
<updated>2018-02-21T10:42:34+00:00</updated>
<author>
<name>Sam Thursfield</name>
<email>sam.thursfield@codethink.co.uk</email>
</author>
<published>2018-01-17T17:54:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/buildstream.git/commit/?id=5476f2a1d4cc387c4868c1a69a7576a150db1ebc'/>
<id>5476f2a1d4cc387c4868c1a69a7576a150db1ebc</id>
<content type='text'>
We have been using the Freedesktop SDK binaries to provide a base
system to run the integration tests. This works OK but it weighs in
at 985MB of content, and there is no simple way to customize it so
that we only download the bits we actually need.

This commit changes the tests to use a custom sysroot based on the
Alpine Linux distribution. The sysroot is 155MB unpacked, and packs down
to a 27MB .tar.xz.

This speeds up the integration tests significantly as we greatly reduce
the amount of network traffic required and the amount of data that gets
copied around when creating the staging area.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We have been using the Freedesktop SDK binaries to provide a base
system to run the integration tests. This works OK but it weighs in
at 985MB of content, and there is no simple way to customize it so
that we only download the bits we actually need.

This commit changes the tests to use a custom sysroot based on the
Alpine Linux distribution. The sysroot is 155MB unpacked, and packs down
to a 27MB .tar.xz.

This speeds up the integration tests significantly as we greatly reduce
the amount of network traffic required and the amount of data that gets
copied around when creating the staging area.
</pre>
</div>
</content>
</entry>
<entry>
<title>tests/integration: Do not use C++ compiler in workspace-mount test</title>
<updated>2018-02-21T10:42:34+00:00</updated>
<author>
<name>Jürg Billeter</name>
<email>j@bitron.ch</email>
</author>
<published>2018-02-21T10:40:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/buildstream.git/commit/?id=cea43cb27f002a948558d0d4edc2b4e7131c9576'/>
<id>cea43cb27f002a948558d0d4edc2b4e7131c9576</id>
<content type='text'>
This means that the integration test suite no longer requires a C++
compiler, and in practice this can allow us to avoid depending on the
GNU C/C++ compilers altogether and instead use the vastly smaller Tiny C
Compiler.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This means that the integration test suite no longer requires a C++
compiler, and in practice this can allow us to avoid depending on the
GNU C/C++ compilers altogether and instead use the vastly smaller Tiny C
Compiler.
</pre>
</div>
</content>
</entry>
</feed>
