<feed xmlns='http://www.w3.org/2005/Atom'>
<title>buildroot/support/testing/tests/package, branch 2017.08</title>
<subtitle>OpenPOWER buildroot sources</subtitle>
<id>https://git.raptorcs.com/git/buildroot/atom?h=2017.08</id>
<link rel='self' href='https://git.raptorcs.com/git/buildroot/atom?h=2017.08'/>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/'/>
<updated>2017-07-22T20:55:05+00:00</updated>
<entry>
<title>testing/tests/package: add basic unit test for IPython</title>
<updated>2017-07-22T20:55:05+00:00</updated>
<author>
<name>Andrey Smirnov</name>
<email>andrew.smirnov@gmail.com</email>
</author>
<published>2017-07-12T02:40:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=d2fe2686d7eea40e8e46304abf0914982ede6c3f'/>
<id>urn:sha1:d2fe2686d7eea40e8e46304abf0914982ede6c3f</id>
<content type='text'>
Signed-off-by: Andrey Smirnov &lt;andrew.smirnov@gmail.com&gt;
[Thomas: update .gitlab-ci.yml.]
Signed-off-by: Thomas Petazzoni &lt;thomas.petazzoni@free-electrons.com&gt;
</content>
</entry>
<entry>
<title>testing/tests/package/test_python: allow to change timeout</title>
<updated>2017-07-22T20:54:37+00:00</updated>
<author>
<name>Andrey Smirnov</name>
<email>andrew.smirnov@gmail.com</email>
</author>
<published>2017-07-12T02:40:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=8559c55ed315caf60f95291222f11529f396ced5'/>
<id>urn:sha1:8559c55ed315caf60f95291222f11529f396ced5</id>
<content type='text'>
Depending on Python implementation used for testing, time it takes to
perform a given test can vary pretty significantly. To accout for that
allow individual test functions to specify different timeout value.

Signed-off-by: Andrey Smirnov &lt;andrew.smirnov@gmail.com&gt;
Signed-off-by: Thomas Petazzoni &lt;thomas.petazzoni@free-electrons.com&gt;
</content>
</entry>
<entry>
<title>testing/tests/package/test_python: do not hardcode interpreter name</title>
<updated>2017-07-22T20:53:27+00:00</updated>
<author>
<name>Andrey Smirnov</name>
<email>andrew.smirnov@gmail.com</email>
</author>
<published>2017-07-12T02:40:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=ded5fa305985dff1585b1632697d2ee7297300b1'/>
<id>urn:sha1:ded5fa305985dff1585b1632697d2ee7297300b1</id>
<content type='text'>
In order to be able to leverage the same test code for testing
different python interpreters (or wrappers around CPython) allow child
classes of TestPythonBase to override the name of the executable used
to run tests.

Signed-off-by: Andrey Smirnov &lt;andrew.smirnov@gmail.com&gt;
Signed-off-by: Thomas Petazzoni &lt;thomas.petazzoni@free-electrons.com&gt;
</content>
</entry>
<entry>
<title>testing/tests/package/test_python: add TestPython3</title>
<updated>2017-07-22T20:52:42+00:00</updated>
<author>
<name>Andrey Smirnov</name>
<email>andrew.smirnov@gmail.com</email>
</author>
<published>2017-07-12T02:40:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=97278ebddda2e757d71b092b063f04e9f748223c'/>
<id>urn:sha1:97278ebddda2e757d71b092b063f04e9f748223c</id>
<content type='text'>
Add Python3 version of TestPython2 to make sure both versions of
Python get unit-tested.

Modify the code of libc_time_test() to support that change (convert
the code to use Python3-style "print").

Signed-off-by: Andrey Smirnov &lt;andrew.smirnov@gmail.com&gt;
[Thomas: update .gitlab-ci.yml.]
Signed-off-by: Thomas Petazzoni &lt;thomas.petazzoni@free-electrons.com&gt;
</content>
</entry>
<entry>
<title>testing/tests/package/test_python: refactor TestPythonBase</title>
<updated>2017-07-22T20:38:21+00:00</updated>
<author>
<name>Andrey Smirnov</name>
<email>andrew.smirnov@gmail.com</email>
</author>
<published>2017-07-12T02:40:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=4c85d3e4596ae1e9ff5fe25977abb8ef8f2294e0'/>
<id>urn:sha1:4c85d3e4596ae1e9ff5fe25977abb8ef8f2294e0</id>
<content type='text'>
Convert TestPythonBase to a true base class that only provides code
implementing various tests without defining tests themselves in a
"discoverable" form.

To retain correct testing functionality, add TestPython2 derived class
that uses code from TestPythonBase to define actual runnable test.

Signed-off-by: Andrey Smirnov &lt;andrew.smirnov@gmail.com&gt;
Reviewed-by: Ricardo Martincoski &lt;ricardo.martincoski@gmail.com&gt;
Tested-by: Ricardo Martincoski &lt;ricardo.martincoski@gmail.com&gt;
[Thomas: fix typo in commit log, update .gitlab-ci.yml, both pointed
by Ricardo.]
Signed-off-by: Thomas Petazzoni &lt;thomas.petazzoni@free-electrons.com&gt;
</content>
</entry>
<entry>
<title>support/testing: add package tests</title>
<updated>2017-05-07T20:04:54+00:00</updated>
<author>
<name>Thomas Petazzoni</name>
<email>thomas.petazzoni@free-electrons.com</email>
</author>
<published>2017-03-20T20:36:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=8db88df8c9488b6aacb21d4af87b39653e2154e7'/>
<id>urn:sha1:8db88df8c9488b6aacb21d4af87b39653e2154e7</id>
<content type='text'>
This commit adds some basic tests for two Buildroot packages: python and
dropbear. These tests are by no mean meant to be exhaustive, but mainly
to serve as initial examples for other tests.

Signed-off-by: Thomas Petazzoni &lt;thomas.petazzoni@free-electrons.com&gt;
</content>
</entry>
</feed>
