<feed xmlns='http://www.w3.org/2005/Atom'>
<title>bcm63xx/u-boot/include/test, branch master</title>
<subtitle>Broadcom-s U-Boot</subtitle>
<id>https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/atom?h=master</id>
<link rel='self' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/'/>
<updated>2019-02-09T12:50:53Z</updated>
<entry>
<title>test: provide unit test for memory functions</title>
<updated>2019-02-09T12:50:53Z</updated>
<author>
<name>Heinrich Schuchardt</name>
</author>
<published>2019-01-30T06:53:31Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/commit/?id=2dd0111adc8a5a03388f557d1ca91295276fbb54'/>
<id>urn:sha1:2dd0111adc8a5a03388f557d1ca91295276fbb54</id>
<content type='text'>
Memory functions may have architecture specific implementations. These
should be tested.

Provide unit tests for memset(), memcpy(), memmove().

Provide a 'ut lib' sub-command to execute the tests.

Signed-off-by: Heinrich Schuchardt &lt;xypron.glpk@gmx.de&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>test: Add a simple test for bloblist</title>
<updated>2018-11-26T13:25:33Z</updated>
<author>
<name>Simon Glass</name>
</author>
<published>2018-11-16T01:43:53Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/commit/?id=919e7a8fb64096209c481928f3b3cbf4ed6c2dbd'/>
<id>urn:sha1:919e7a8fb64096209c481928f3b3cbf4ed6c2dbd</id>
<content type='text'>
Add a unit test for the bloblist functionality and enable bloblist for
sandbox.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>test: Add ut_asserteq_mem</title>
<updated>2018-09-28T16:27:01Z</updated>
<author>
<name>Mario Six</name>
</author>
<published>2018-09-27T07:19:32Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/commit/?id=41f67e3bf343e7d8408956574f83ef7c13d2d0b4'/>
<id>urn:sha1:41f67e3bf343e7d8408956574f83ef7c13d2d0b4</id>
<content type='text'>
Add a unit test assert-method, which compares two given memory areas for
byte-wise equality.

Signed-off-by: Mario Six &lt;mario.six@gdsys.cc&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>test: unit tests for Unicode functions</title>
<updated>2018-09-23T19:55:29Z</updated>
<author>
<name>Heinrich Schuchardt</name>
</author>
<published>2018-08-31T19:31:28Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/commit/?id=f11a164b58860c3971e207a2e1cf1c033b9d0910'/>
<id>urn:sha1:f11a164b58860c3971e207a2e1cf1c033b9d0910</id>
<content type='text'>
Provide unit tests for Unicode functions.

Signed-off-by: Heinrich Schuchardt &lt;xypron.glpk@gmx.de&gt;
Signed-off-by: Alexander Graf &lt;agraf@suse.de&gt;
</content>
</entry>
<entry>
<title>test: fix typo in cmd_ut_category() description</title>
<updated>2018-08-31T15:59:44Z</updated>
<author>
<name>Heinrich Schuchardt</name>
</author>
<published>2018-08-27T20:04:10Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/commit/?id=4b0a2d3aabeba4df186113ef0c5edc25cec6001b'/>
<id>urn:sha1:4b0a2d3aabeba4df186113ef0c5edc25cec6001b</id>
<content type='text'>
argc = 1: all tests are run
argc &gt; 1: only argv[1] is run

So we need argc &gt;= 1.

Signed-off-by: Heinrich Schuchardt &lt;xypron.glpk@gmx.de&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>test: Add ut_assertnull macro</title>
<updated>2018-07-19T20:17:58Z</updated>
<author>
<name>Ramon Fried</name>
</author>
<published>2018-06-21T14:47:16Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/commit/?id=8d545790729434f4ba718dd9a6a1b55dcf7e94c4'/>
<id>urn:sha1:8d545790729434f4ba718dd9a6a1b55dcf7e94c4</id>
<content type='text'>
Add ut_assertnull macro to include/test/ut.h
For testing of functions that returns NULL on errors.

Signed-off-by: Ramon Fried &lt;ramon.fried@gmail.com&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>SPDX: Convert all of our single license tags to Linux Kernel style</title>
<updated>2018-05-07T13:34:12Z</updated>
<author>
<name>Tom Rini</name>
</author>
<published>2018-05-06T21:58:06Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/commit/?id=83d290c56fab2d38cd1ab4c4cc7099559c1d5046'/>
<id>urn:sha1:83d290c56fab2d38cd1ab4c4cc7099559c1d5046</id>
<content type='text'>
When U-Boot started using SPDX tags we were among the early adopters and
there weren't a lot of other examples to borrow from.  So we picked the
area of the file that usually had a full license text and replaced it
with an appropriate SPDX-License-Identifier: entry.  Since then, the
Linux Kernel has adopted SPDX tags and they place it as the very first
line in a file (except where shebangs are used, then it's second line)
and with slightly different comment styles than us.

In part due to community overlap, in part due to better tag visibility
and in part for other minor reasons, switch over to that style.

This commit changes all instances where we have a single declared
license in the tag as both the before and after are identical in tag
contents.  There's also a few places where I found we did not have a tag
and have introduced one.

Signed-off-by: Tom Rini &lt;trini@konsulko.com&gt;
</content>
</entry>
<entry>
<title>test: compression: Convert to unit test framework</title>
<updated>2017-12-04T14:58:20Z</updated>
<author>
<name>Simon Glass</name>
</author>
<published>2017-11-25T18:57:33Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/commit/?id=0aac10f2f9e59bb0e717de25a2e717f3d387ea60'/>
<id>urn:sha1:0aac10f2f9e59bb0e717de25a2e717f3d387ea60</id>
<content type='text'>
Adjust this test to use the unit test framework. Drop the two existing
commands for running the tests and replace them with a single
'ut compression' command, with sub-commands.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
[trini: Continue to have ret = run_test_internal(...) in run_test so ret
is always initialized]
Signed-off-by: Tom Rini &lt;trini@konsulko.com&gt;
</content>
</entry>
<entry>
<title>test: Add a command function for test execution</title>
<updated>2017-12-02T23:32:58Z</updated>
<author>
<name>Simon Glass</name>
</author>
<published>2017-11-25T18:57:29Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/commit/?id=4d869c1e49e5a276bd53f50a83e78999a25e2846'/>
<id>urn:sha1:4d869c1e49e5a276bd53f50a83e78999a25e2846</id>
<content type='text'>
The logic to either iterate through a list of tests or pick a named test
is common to at lest two test suits. Move this logic into a new function
and call it from the environment tests.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>dm: test: Fix nit with position of backslash</title>
<updated>2017-06-01T13:03:17Z</updated>
<author>
<name>Simon Glass</name>
</author>
<published>2017-05-19T02:10:00Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/commit/?id=fe3c0b5b9306f957a6c25551a73ab8a70735699b'/>
<id>urn:sha1:fe3c0b5b9306f957a6c25551a73ab8a70735699b</id>
<content type='text'>
Line up this backslash with all the others.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
</feed>
