#
# CTK_Test base configuration
#

menuconfig CTK_TEST
	tristate "CTK_Test - Enable support for unit tests"
	help
	  Enables support for kernel unit tests (CTK_Test), a lightweight unit
	  testing and mocking framework for the Linux kernel. It can be used 
          on most architectures, including x86 and ARM.

if CTK_TEST

config CTK_TEST_DEBUGFS
	bool "CTK_Test - Enable /sys/kernel/debug/ctk_test debugfs representation" if !CTK_TEST_ALL_TESTS
	default CTK_TEST_ALL_TESTS
	help
	  Enable debugfs representation for ctk_test.  Currently this consists
	  of /sys/kernel/debug/ctk_test/<test_suite>/results files for each
	  test suite, which allow users to SEE results of the last test suite
	  run that occurred.

config CTK_TEST_TEST
	tristate "CTK_Test test for CTK_Test" if !CTK_TEST_ALL_TESTS
	default CTK_TEST_ALL_TESTS
	help
	  Enables the unit tests for the CTK_Test test framework. These tests test
	  the CTK_Test test framework itself; the tests are both written using
	  CTK_Test and test CTK_Test. This option should only be enabled for testing
	  purposes by developers interested in testing that CTK_Test works as
	  expected.

config CTK_TEST_EXAMPLE_TEST
	tristate "Example test for CTK_Test" if !CTK_TEST_ALL_TESTS
	default CTK_TEST_ALL_TESTS
	help
	  Enables an example unit test that illustrates some of the basic
	  features of CTK_Test. This test only exists to help new users understand
	  what CTK_Test is and how it is used. Please refer to the example test
	  itself, lib/ctk_test/example-test.c, for more information. This option
	  is intended for curious hackers who would like to understand how to
	  use CTK_Test for kernel development.

config CTK_TEST_ALL_TESTS
	tristate "All CTK_Test tests with satisfied dependencies"
	help
	  Enables all CTK_Test tests, if they can be enabled.
	  CTK_Test tests run during boot and output the results to the debug log
	  in TAP format (http://testanything.org/). Only useful for kernel devs
	  running the CTK_Test test harness, and not intended for inclusion into a
	  production build.

	  If unsure, say N.

config BITS_CTK_TEST
        tristate "CTK_Test test for bits"
        depends on CTK_TEST
        help
          This builds the bits CTK_Test test.

          CTK_Test tests run during boot and output the results to the debug log
          in TAP format (http://testanything.org/). Only useful for kernel devs
          running CTK_Test test harness and are not for inclusion into a production
          build.

          If unsure, say N.


endif # CTK_TEST

config LIST_SORT_CTK_TEST
        tristate "CTK_Test test for list and sort"
        depends on CTK_TEST
        help
          This builds the list and sort CTK_Test test.

          CTK_Test tests run during boot and output the results to the debug log
          in TAP format (http://testanything.org/). Only useful for kernel devs
          running CTK_Test test harness and are not for inclusion into a production
          build.

          If unsure, say N.


config SORT_CTK_TEST
        tristate "CTK_Test test for sort"
        depends on CTK_TEST
        help
          This builds the sort CTK_Test test.

          CTK_Test tests run during boot and output the results to the debug log
          in TAP format (http://testanything.org/). Only useful for kernel devs
          running CTK_Test test harness and are not for inclusion into a production
          build.

          If unsure, say N.

config HEXDUMP_CTK_TEST
        tristate "CTK_Test test for hexdump"
        depends on CTK_TEST
        help
          This builds the hexdump CTK_Test test.

          CTK_Test tests run during boot and output the results to the debug log
          in TAP format (http://testanything.org/). Only useful for kernel devs
          running CTK_Test test harness and are not for inclusion into a production
          build.

          If unsure, say N.


config BITMAP_CTK_TEST
        tristate "CTK_Test test for bitmap"
        depends on CTK_TEST
        help
          This builds the bitmap CTK_Test test.

          CTK_Test tests run during boot and output the results to the debug log
          in TAP format (http://testanything.org/). Only useful for kernel devs
          running CTK_Test test harness and are not for inclusion into a production
          build.

          If unsure, say N.

config FIND_BIT_CTK_TEST
        tristate "CTK_Test test for find_bit"
        depends on CTK_TEST
        help
          This builds the find_bit CTK_Test test.

          CTK_Test tests run during boot and output the results to the debug log
          in TAP format (http://testanything.org/). Only useful for kernel devs
          running CTK_Test test harness and are not for inclusion into a production
          build.

          If unsure, say N.


config UCS2_STRING_CTK_TEST
        tristate "CTK_Test test for ucs2_string"
        depends on CTK_TEST
        help
          This builds the ucs2_string CTK_Test test.

          CTK_Test tests run during boot and output the results to the debug log
          in TAP format (http://testanything.org/). Only useful for kernel devs
          running CTK_Test test harness and are not for inclusion into a production
          build.

          If unsure, say N.


config BSEARCH_CTK_TEST
        tristate "CTK_Test test for bsearch"
        depends on CTK_TEST
        help
          This builds the bsearch CTK_Test test.

          CTK_Test tests run during boot and output the results to the debug log
          in TAP format (http://testanything.org/). Only useful for kernel devs
          running CTK_Test test harness and are not for inclusion into a production
          build.

          If unsure, say N.


config CHECKSUM_CTK_TEST
        tristate "CTK_Test test for checksum"
        depends on CTK_TEST
        help
          This builds the checksum CTK_Test test.

          CTK_Test tests run during boot and output the results to the debug log
          in TAP format (http://testanything.org/). Only useful for kernel devs
          running CTK_Test test harness and are not for inclusion into a production
          build.

          If unsure, say N.



config HASHTABLE_CTK_TEST
        tristate "CTK_Test test for hashtable"
        depends on CTK_TEST
        help
          This builds the hashtable CTK_Test test.

          CTK_Test tests run during boot and output the results to the debug log
          in TAP format (http://testanything.org/). Only useful for kernel devs
          running CTK_Test test harness and are not for inclusion into a production
          build.

          If unsure, say N.


config CMDLINE_CTK_TEST
        tristate "CTK_Test test for cmdline"
        depends on CTK_TEST
        help
          This builds the cmdline CTK_Test test.

          CTK_Test tests run during boot and output the results to the debug log
          in TAP format (http://testanything.org/). Only useful for kernel devs
          running CTK_Test test harness and are not for inclusion into a production
          build.

          If unsure, say N.


config REFCOUNT_CTK_TEST
        tristate "CTK_Test test for refcount"
        depends on CTK_TEST
        help
          This builds the refcount CTK_Test test.

          CTK_Test tests run during boot and output the results to the debug log
          in TAP format (http://testanything.org/). Only useful for kernel devs
          running CTK_Test test harness and are not for inclusion into a production
          build.

          If unsure, say N.

