aboutsummaryrefslogtreecommitdiff
path: root/Config.in
diff options
context:
space:
mode:
authorBartosz Golaszewski <bartekgola@gmail.com>2014-06-22 16:30:41 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2014-06-22 16:30:41 +0200
commit3ed81cf0529145d04299c4cd48b1aaab2fe36193 (patch)
treef8d40bf4c55c9dadba0773543048a5d69b695002 /Config.in
parent5d2e409ef8224dc32fde59702e8ec90b231441ed (diff)
downloadbusybox-w32-3ed81cf0529145d04299c4cd48b1aaab2fe36193.tar.gz
busybox-w32-3ed81cf0529145d04299c4cd48b1aaab2fe36193.tar.bz2
busybox-w32-3ed81cf0529145d04299c4cd48b1aaab2fe36193.zip
unit-tests: implement the unit-testing framework
This set of patches adds a simple unit-testing framework to Busybox 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 Signed-off-by: Bartosz Golaszewski <bartekgola@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'Config.in')
-rw-r--r--Config.in8
1 files changed, 8 insertions, 0 deletions
diff --git a/Config.in b/Config.in
index b6eaea541..b83beb52d 100644
--- a/Config.in
+++ b/Config.in
@@ -675,6 +675,14 @@ config DEBUG_PESSIMIZE
675 in a much bigger executable that more closely matches the source 675 in a much bigger executable that more closely matches the source
676 code. 676 code.
677 677
678config UNIT_TEST
679 bool "Build unit tests"
680 default n
681 help
682 Say Y here if you want to build unit tests (both the framework and
683 test cases) as a Busybox applet. This results in bigger code, so you
684 probably don't want this option in production builds.
685
678config WERROR 686config WERROR
679 bool "Abort compilation on any warning" 687 bool "Abort compilation on any warning"
680 default n 688 default n