summaryrefslogtreecommitdiff
path: root/build_tools/cflags-devmode.xml
diff options
context:
space:
mode:
authorDavid Vossel <dvossel@digium.com>2009-12-22 16:09:11 +0000
committerDavid Vossel <dvossel@digium.com>2009-12-22 16:09:11 +0000
commit73cb2d507bc5f75636c24b54b45dc577e1a0e6a1 (patch)
tree738bc8fbe6fe70bae3bc7e71e0f51bcb02e441a9 /build_tools/cflags-devmode.xml
parentf95ee393f22312c947655bba577f3d19b404f10f (diff)
Unit Test Framework API
The Unit Test Framework is a new API that manages registration and execution of unit tests in Asterisk with the purpose of verifying the operation of C functions. The Framework consists of a single test manager accompanied by a list of registered test functions defined within the code. A test is defined, registered, and unregistered from the framework using a set of macros which allow the test code to only be compiled within asterisk when the TEST_FRAMEWORK flag is enabled in menuselect. This allows the test code to exist in the same file as the C functions it intends to verify. Registered tests may be viewed and executed via a set of new CLI commands. CLI commands are also present for generating and exporting test results into xml and txt formats. For more information and use cases please refer to the documentation provided at the beginning of the test.h file. Review: https://reviewboard.asterisk.org/r/447/ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@236027 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'build_tools/cflags-devmode.xml')
-rw-r--r--build_tools/cflags-devmode.xml3
1 files changed, 3 insertions, 0 deletions
diff --git a/build_tools/cflags-devmode.xml b/build_tools/cflags-devmode.xml
index 0b0f5e907..37f7a4d4f 100644
--- a/build_tools/cflags-devmode.xml
+++ b/build_tools/cflags-devmode.xml
@@ -20,4 +20,7 @@
</member>
<member name="SKINNY_DEVMODE" displayname="Enable Skinny Dev Mode">
</member>
+ <member name="TEST_FRAMEWORK" displayname="Enable Test Framework API">
+ </member>
+
</category>