summaryrefslogtreecommitdiff
path: root/tools
Commit message (Collapse)AuthorAgeFilesLines
* zunitc: use platform-independent macros for integer formattingEmmanuel Gil Peyrot2016-05-192-22/+27
| | | | | | | | Fixes warnings and potential issues on 32-bit platforms, tested only on ARM but I’d expect the same issue on i686. Signed-off-by: Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> Reviewed-by: Bryce Harrington <bryce@osg.samsung.com>
* zunitc: fix spelling mistakeEric Engestrom2016-04-051-1/+1
| | | | | Signed-off-by: Eric Engestrom <eric@engestrom.ch> Reviewed-by: Bryce Harrington <bryce@osg.samsung.com>
* zunitc: remove `break` after `return`Eric Engestrom2016-04-052-17/+0
| | | | Signed-off-by: Eric Engestrom <eric@engestrom.ch>
* zunitc: made name of test fixture parameter explicit.Jon Cruz2015-10-233-11/+26
| | | | | | | | | | Instead of using the implicit name 'data', changed the test with fixture macro ZUC_TEST_F() to use an additional value to explicitly set the name to use for test data from the fixture. Signed-off-by: Jon A. Cruz <jonc@osg.samsung.com> Reviewed-by: Bryce Harrington <bryce@osg.samsung.com>
* zunitc: Clarify documentation on return behavior.Jon Cruz2015-10-232-39/+132
| | | | | | | | | | | | | | | * Clarify documentation on ZUC_ASSERT_* behavior in regards to return vs. abort() * Added overview section on return behavior. * Fixed spelling * Removed outdated reference to tap function. Changes since v1: * Incorporated grammatical feedback. Signed-off-by: Jon A. Cruz <jonc@osg.samsung.com> Reviewed-by: Bryce Harrington <bryce@osg.samsung.com>
* Coding style fixesDawid Gajownik2015-08-071-1/+2
| | | | | | | | | - opening braces are on the same line as the if statement - opening braces are not on the same line as the function name - space between for/while/if and opening parenthesis Signed-off-by: Dawid Gajownik <gajownik@gmail.com> Reviewed-by: Derek Foreman <derekf@osg.samsung.com>
* Enables output in the JUnit XML format.Jon A. Cruz2015-07-173-0/+525
| | | | | | | | | | | | | Adds basic support for optionally outputting in the XML format commonly used by JUnit compatible tools. This format is supported by default by many tools, including the Jenkins build system. It also is more detailed and captures more information than the more simplistic TAP format. Signed-off-by: Jon A. Cruz <jonc@osg.samsung.com> Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
* zunitc: Fix minor typoBryce Harrington2015-07-141-1/+1
| | | | | Signed-off-by: Bryce Harrington <bryce@osg.samsung.com> Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
* zunitc: Fix some minor grammatical errors in doxBryce Harrington2015-07-141-2/+2
| | | | | Signed-off-by: Bryce Harrington <bryce@osg.samsung.com> Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
* zunitc: wrap dox to 80 columnsBryce Harrington2015-07-141-8/+22
| | | | | Signed-off-by: Bryce Harrington <bryce@osg.samsung.com> Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
* Added simple unit/integration test framework and corresponding test program.Jon A. Cruz2015-07-0715-0/+4471
Added a simple C-based test framework and an example program that uses it to run through some simple unit tests. This is new code inspired primarily by the approaches of Google Test, Boost Test, JUnit and TestNG. Factors of others were also considered during design and implementation. Signed-off-by: Jon A. Cruz <jonc@osg.samsung.com> Acked-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>