On Wednesday 16 April 2014 01:06, Bartosz Golaszewski wrote: > This set of patches proposes to add a simple unit-testing framework to > Busybox. > > First four patches implement the actual framework and document it, while > last two add some example test cases. > > Bartosz Golaszewski (6): > unit-tests: add some helper macros for unit-test framework implementation > unit-tests: implement the unit-testing framework > unit-tests: add basic documentation on writing the unit test cases > unit-tests: modify the Makefile 'test' target to run unit-tests too > unit-tests: add two example test cases > unit-tests: modify the existing strrstr test code to use the unit-test > framework > > Config.in | 8 +++ > Makefile.custom | 4 ++ > docs/unit-tests.txt | 52 ++++++++++++++++++ > include/bbunit.h | 153 +++++++++++++++++++++++++++++++++++++++++++++++++++ > include/platform.h | 3 + > libbb/bbunit.c | 154 > ++++++++++++++++++++++++++++++++++++++++++++++++++++ > libbb/obscure.c | 40 ++++++++++++++ > libbb/strrstr.c | 21 +++---- > 8 files changed, 423 insertions(+), 12 deletions(-) > create mode 100644 docs/unit-tests.txt > create mode 100644 include/bbunit.h > create mode 100644 libbb/bbunit.c
Applied all patches with some editing. Thanks a lot! _______________________________________________ busybox mailing list [email protected] http://lists.busybox.net/mailman/listinfo/busybox
