~singpolyma/asterisk

0c9efd10941a77d633f7cb353c4acf47c0cf8787 — Tzafrir Cohen 5 years ago 1133eb1
Enable the test framework

Last-Update: 2016-12-23
Forwarded: no

Test modules are normally only enabled in development mode. This patch
enables them without the need to enable dev-mode.

The modules provide simple tests. Try: asterisk -rx 'test execute all'

Those modules should not be confused with the tests in the
asterisk-testsute package.


Gbp-Pq: Name test_framework.patch
2 files changed, 4 insertions(+), 3 deletions(-)

M build_tools/cflags-devmode.xml
M build_tools/cflags.xml
M build_tools/cflags-devmode.xml => build_tools/cflags-devmode.xml +0 -3
@@ 21,7 21,4 @@
		<member name="THREAD_CRASH" displayname="Crash on mutex errors">
			<support_level>extended</support_level>
		</member>
		<member name="TEST_FRAMEWORK" displayname="Enable Test Framework API">
			<support_level>extended</support_level>
		</member>
	</category>

M build_tools/cflags.xml => build_tools/cflags.xml +4 -0
@@ 128,4 128,8 @@
			<defaultenabled>no</defaultenabled>
			<depend>native_arch</depend>
		</member>
		<member name="TEST_FRAMEWORK" displayname="Enable Test Framework API">
			<defaultenabled>yes</defaultenabled>
			<support_level>extended</support_level>
		</member>
	</category>