zephyr/tests/lib/sprintf
Kumar Gala 8317e366a8 tests: sprintf: Add inf/nan testing for %{e,E,g,G}
Added testing to make sure we get the proper results from %e, %E, %g and
%G conversion specifiers.

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2018-07-12 14:57:52 -05:00
..
src tests: sprintf: Add inf/nan testing for %{e,E,g,G} 2018-07-12 14:57:52 -05:00
CMakeLists.txt
README.txt
prj.conf tests: sprintf: remove kconfig options 2018-06-12 18:08:00 -04:00
testcase.yaml

README.txt

Title: sprintf() APIs

Description:

This test verifies that sprintf() and its variants operate as expected.

--------------------------------------------------------------------------------

Building and Running Project:

This project outputs to the console.  It can be built and executed
on QEMU as follows:

    make run

--------------------------------------------------------------------------------

Troubleshooting:

Problems caused by out-dated project information can be addressed by
issuing one of the following commands then rebuilding the project:

    make clean          # discard results of previous builds
                        # but keep existing configuration info
or
    make pristine       # discard results of previous builds
                        # and restore pre-defined configuration info

--------------------------------------------------------------------------------
Sample Output:

tc_start() - Test sprintf APIs

===================================================================
Testing sprintf() with integers ....
Testing snprintf() ....
Testing vsprintf() ....
Testing vsnprintf() ....
Testing sprintf() with strings ....
Testing sprintf() with misc options ....
Testing sprintf() with doubles ....
===================================================================
PASS - RegressionTask.
===================================================================
PROJECT EXECUTION SUCCESSFUL