[Pkg-voip-commits] [asterisk] 02/11: A disabled patch for the test framework
tzafrir at debian.org
tzafrir at debian.org
Wed Dec 17 06:27:42 UTC 2014
This is an automated email from the git hooks/post-receive script.
tzafrir pushed a commit to branch master
in repository asterisk.
commit 58c8ba2575c98eb3f1b597f287431e66a10442e1
Author: Tzafrir Cohen <tzafrir at debian.org>
Date: Sat Nov 1 18:09:06 2014 +0200
A disabled patch for the test framework
The test framework can provide some useful sanity checks.
However it also breaks the build ABI (and potentially makes breaking it
easier, as there are more omdules with dependencies). Keep it disabled
for now.
---
debian/patches/series | 1 +
debian/patches/test_framework.patch | 34 ++++++++++++++++++++++++++++++++++
2 files changed, 35 insertions(+)
diff --git a/debian/patches/series b/debian/patches/series
index 7859572..7b1354a 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -24,3 +24,4 @@ aelparse_enable.patch
systemd.patch
Makefile_kfreebsd
bigendian.patch
+#test_framework.patch
diff --git a/debian/patches/test_framework.patch b/debian/patches/test_framework.patch
new file mode 100644
index 0000000..a010cc2
--- /dev/null
+++ b/debian/patches/test_framework.patch
@@ -0,0 +1,34 @@
+From; Tzafrir Cohen <tzafrir at debian.org>
+Subject: Enable the test framework
+
+Note that enabling this patch breaks the ABI hash. Take care.
+
+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.
+
+--- a/build_tools/cflags-devmode.xml
++++ b/build_tools/cflags-devmode.xml
+@@ -24,7 +24,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>
+--- a/build_tools/cflags.xml
++++ b/build_tools/cflags.xml
+@@ -101,4 +101,8 @@
+ <defaultenabled>yes</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>
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-voip/asterisk.git
More information about the Pkg-voip-commits
mailing list