<feed xmlns='http://www.w3.org/2005/Atom'>
<title>buildroot/support/testing/infra, branch 2019.02-op-build</title>
<subtitle>OpenPOWER buildroot sources</subtitle>
<id>https://git.raptorcs.com/git/buildroot/atom?h=2019.02-op-build</id>
<link rel='self' href='https://git.raptorcs.com/git/buildroot/atom?h=2019.02-op-build'/>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/'/>
<updated>2019-02-06T09:40:15+00:00</updated>
<entry>
<title>testing/infra: Add BRConfigTest as superclass of BRTest</title>
<updated>2019-02-06T09:40:15+00:00</updated>
<author>
<name>Ricardo Martincoski</name>
<email>ricardo.martincoski@datacom.ind.br</email>
</author>
<published>2019-02-06T03:25:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=0461ef4dea3d39a53894bf68697c266db2d33f5a'/>
<id>urn:sha1:0461ef4dea3d39a53894bf68697c266db2d33f5a</id>
<content type='text'>
The git tests don't need to do a full build, they only need to do a
configure and download and/or legal-info. More tests of that type will
be added in the future. Therefore, we want to have a test base class
that doesn't automatically do a full build in the setUp().

Add this new class as a superclass of the existing BRTest class, so we
don't need to update existing tests. Only the code in run-tests that
iterates over all subclasses of BRTest has to be adapted to use
BRConfigTest instead.

Signed-off-by: Ricardo Martincoski &lt;ricardo.martincoski@datacom.ind.br&gt;
Cc: Arnout Vandecappelle &lt;arnout@mind.be&gt;
Signed-off-by: Matthew Weber &lt;matthew.weber@rockwellcollins.com&gt;
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) &lt;arnout@mind.be&gt;
</content>
</entry>
<entry>
<title>support/testing/infra/basetest: support br2-external</title>
<updated>2019-01-29T21:16:33+00:00</updated>
<author>
<name>Ricardo Martincoski</name>
<email>ricardo.martincoski@datacom.ind.br</email>
</author>
<published>2019-01-28T23:22:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=4d5d0124c795a4269e9ae81efcdd1a121dd2f739'/>
<id>urn:sha1:4d5d0124c795a4269e9ae81efcdd1a121dd2f739</id>
<content type='text'>
Some upcoming test cases can use one or more br2-external trees as
fixtures that provide packages used only in runtime tests.

Add support for br2-external into the BRTest class. Any test case can
then provide a list of paths for being used as br2-external trees
during the build of the image to test.

Signed-off-by: Ricardo Martincoski &lt;ricardo.martincoski@datacom.ind.br&gt;
Cc: Arnout Vandecappelle &lt;arnout@mind.be&gt;
Signed-off-by: Matt Weber &lt;matthew.weber@rockwellcollins.com&gt;
Signed-off-by: Daniel J. Leach &lt;dleach@belcan.com&gt;
Signed-off-by: Adam Duskett &lt;Aduskett@gmail.com&gt;
Tested-by: Matthew Weber &lt;matthew.weber@rockwellcollins.com&gt;
[Thomas: use named argument for make_extra_opts.]
Signed-off-by: Thomas Petazzoni &lt;thomas.petazzoni@bootlin.com&gt;
</content>
</entry>
<entry>
<title>support/testing/infra/builder: configure and build with make target and environment</title>
<updated>2019-01-29T21:14:55+00:00</updated>
<author>
<name>Ricardo Martincoski</name>
<email>ricardo.martincoski@datacom.ind.br</email>
</author>
<published>2019-01-28T23:22:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=07bbf1b4dd1fc97e31950b5ba827af7807386179'/>
<id>urn:sha1:07bbf1b4dd1fc97e31950b5ba827af7807386179</id>
<content type='text'>
Make the builder able to call 'VAR1=1 make VAR2=2 target'.

Allow sending extra parameters to be added to the end of make command
line. Uses for these purposes:
 - to configure a br2-external, using the 'BR2_EXTERNAL="dir" variable.
 - to specify a make target, such as 'foo-source.'

Allow adding variables to the environment when calling make.
These added variables allow a user to override default values from BuildRoot,
such as 'BR2_DL_DIR="dl"'.

Signed-off-by: Ricardo Martincoski &lt;ricardo.martincoski@datacom.ind.br&gt;
Cc: Arnout Vandecappelle &lt;arnout@mind.be&gt;
Signed-off-by: Matt Weber &lt;matthew.weber@rockwellcollins.com&gt;
Signed-off-by: Daniel J. Leach &lt;dleach@belcan.com&gt;
Signed-off-by: Adam Duskett &lt;Aduskett@gmail.com&gt;
Signed-off-by: Thomas Petazzoni &lt;thomas.petazzoni@bootlin.com&gt;
</content>
</entry>
<entry>
<title>support/testing/infra: rm extra log flush in builder.py</title>
<updated>2018-08-11T10:38:45+00:00</updated>
<author>
<name>Matt Weber</name>
<email>matthew.weber@rockwellcollins.com</email>
</author>
<published>2018-08-11T01:02:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=b25c39ebd98b824a5e3aba0ee4a73f3179b40c5e'/>
<id>urn:sha1:b25c39ebd98b824a5e3aba0ee4a73f3179b40c5e</id>
<content type='text'>
While integrating proxy support in builder.py, a log flush
was left in the code.  This commit cleans/removes that code.

Signed-off-by: Matthew Weber &lt;matthew.weber@rockwellcollins.com&gt;
Signed-off-by: Thomas Petazzoni &lt;thomas.petazzoni@bootlin.com&gt;
</content>
</entry>
<entry>
<title>support/testing: runtest proxy support</title>
<updated>2018-08-10T20:36:10+00:00</updated>
<author>
<name>Matt Weber</name>
<email>matthew.weber@rockwellcollins.com</email>
</author>
<published>2018-07-11T14:31:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=361bc21c523e0e6f030080eb910dfb53e4614c7b'/>
<id>urn:sha1:361bc21c523e0e6f030080eb910dfb53e4614c7b</id>
<content type='text'>
Allow builder.py to inherit the system proxy settings from
the env if they are present.

Signed-off-by: Matthew Weber &lt;matthew.weber@rockwellcollins.com&gt;
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) &lt;arnout@mind.be&gt;
Signed-off-by: Thomas Petazzoni &lt;thomas.petazzoni@bootlin.com&gt;
</content>
</entry>
<entry>
<title>support/testing: fix python syntax</title>
<updated>2018-06-10T13:56:25+00:00</updated>
<author>
<name>Yann E. MORIN</name>
<email>yann.morin.1998@free.fr</email>
</author>
<published>2018-06-03T09:08:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=99723554c0c84002c25e98eb187fa667abee4ced'/>
<id>urn:sha1:99723554c0c84002c25e98eb187fa667abee4ced</id>
<content type='text'>
Fix three issues with code style in our test infra:
  - 'print' is now a function,
  - exceptions need to be caught-assigned with the 'as' keyword,
  - old-style "%s"%() formatting is deprecated.

Signed-off-by: "Yann E. MORIN" &lt;yann.morin.1998@free.fr&gt;
Cc: Ricardo Martincoski &lt;ricardo.martincoski@gmail.com&gt;
[Thomas: drop indices in format strings.]
Signed-off-by: Thomas Petazzoni &lt;thomas.petazzoni@bootlin.com&gt;
</content>
</entry>
<entry>
<title>testing/infra/builder: split configure() from build()</title>
<updated>2018-04-01T17:59:36+00:00</updated>
<author>
<name>Ricardo Martincoski</name>
<email>ricardo.martincoski@gmail.com</email>
</author>
<published>2017-10-29T14:06:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=998300c5f55f61e928acfd352bc4cc24f36f8f7d'/>
<id>urn:sha1:998300c5f55f61e928acfd352bc4cc24f36f8f7d</id>
<content type='text'>
Some test cases don't use a full build as setup, so split the build()
method into configure() and build().
It allows a test case to perform configuration at the setup stage and
the build inside the test itself.

Call this new method just before build in the BRTest base class, to keep
the current behavior for existing test cases.

This change will be needed when adding a common class to test the git
download infra.

Signed-off-by: Ricardo Martincoski &lt;ricardo.martincoski@datacom.ind.br&gt;
Cc: Arnout Vandecappelle (Essensium/Mind) &lt;arnout@mind.be&gt;
Signed-off-by: Thomas Petazzoni &lt;thomas.petazzoni@bootlin.com&gt;
</content>
</entry>
<entry>
<title>testing/infra/builder: call make with empty env</title>
<updated>2018-04-01T17:59:36+00:00</updated>
<author>
<name>Ricardo Martincoski</name>
<email>ricardo.martincoski@gmail.com</email>
</author>
<published>2017-10-29T14:06:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=b19cb8143b0c1337d370010550532c4fc23124d9'/>
<id>urn:sha1:b19cb8143b0c1337d370010550532c4fc23124d9</id>
<content type='text'>
Use an empty environment when calling make, but import PATH so the
buildroot tree under test can find binaries from the host machine.

Since environment variables are now ignored, move the handling of
BR2_DL_DIR to the defconfig to keep the current precedence of -d:

    BR2_DL_DIR  | -d DIR   | test downloads   | BR downloads
    ------------+----------+------------------+--------------
    unset       | unset    | [error]          | [error]
    unset       | set      | in $(DIR)        | in $(DIR)
    set         | unset    | in $(BR2_DL_DIR) | in $(BR2_DL_DIR)
    set         | set      | in $(DIR)        | in $(DIR)

Signed-off-by: Ricardo Martincoski &lt;ricardo.martincoski@gmail.com&gt;
Cc: Arnout Vandecappelle &lt;arnout@mind.be&gt;
Cc: Thomas Petazzoni &lt;thomas.petazzoni@free-electrons.com&gt;
Cc: Yann E. MORIN &lt;yann.morin.1998@free.fr&gt;
Signed-off-by: Thomas Petazzoni &lt;thomas.petazzoni@bootlin.com&gt;
</content>
</entry>
<entry>
<title>support/testing: use more recent toolchains</title>
<updated>2017-10-21T17:48:30+00:00</updated>
<author>
<name>Thomas Petazzoni</name>
<email>thomas.petazzoni@free-electrons.com</email>
</author>
<published>2017-10-21T17:21:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=193dfffa834a4cd76bc7b41089bd93d4c37dfc65'/>
<id>urn:sha1:193dfffa834a4cd76bc7b41089bd93d4c37dfc65</id>
<content type='text'>
With the hard disk crash of autobuild.b.o, we lost old toolchains, so
use the latest toolchains, which have been restored.

Signed-off-by: Thomas Petazzoni &lt;thomas.petazzoni@free-electrons.com&gt;
</content>
</entry>
<entry>
<title>support/testing: fix code style</title>
<updated>2017-10-06T16:56:49+00:00</updated>
<author>
<name>Ricardo Martincoski</name>
<email>ricardo.martincoski@gmail.com</email>
</author>
<published>2017-10-05T21:42:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=ef8d1f1b15858ed0b86fb92e03d1c3797c6c1e1f'/>
<id>urn:sha1:ef8d1f1b15858ed0b86fb92e03d1c3797c6c1e1f</id>
<content type='text'>
Fix the trivial warnings from flake8:
 - remove modules imported but unused;
 - use 2 lines before class or module level method;
 - remove blank line at end of file.

Signed-off-by: Ricardo Martincoski &lt;ricardo.martincoski@gmail.com&gt;
Acked-by: "Yann E. MORIN" &lt;yann.morin.1998@free.fr&gt;
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) &lt;arnout@mind.be&gt;
</content>
</entry>
</feed>
