[Pkg-voip-commits] [asterisk] 01/03: test_framework.patch: fix ABI
tzafrir at debian.org
tzafrir at debian.org
Fri Dec 23 14:26:45 UTC 2016
This is an automated email from the git hooks/post-receive script.
tzafrir pushed a commit to branch master
in repository asterisk.
commit db909223a793d3a22a80285755f126644c93c7b5
Author: Tzafrir Cohen <tzafrir at debian.org>
Date: Fri Dec 23 15:37:17 2016 +0200
test_framework.patch: fix ABI
Enabling the test framework does not break the binary ABI. Thus it is
safe to exclude that flag from the ABI-changing flags when generating
the buildopts checksum (gtjoseph, #asterisk-dev).
(Note: patch is still disabled by default in the series file, thus this
fix has no real effect)
---
debian/patches/test_framework.patch | 34 +++++++++++++++++++++++-----------
1 file changed, 23 insertions(+), 11 deletions(-)
diff --git a/debian/patches/test_framework.patch b/debian/patches/test_framework.patch
index f3654d9..45434f6 100644
--- a/debian/patches/test_framework.patch
+++ b/debian/patches/test_framework.patch
@@ -1,15 +1,15 @@
+From: Tzafrir Cohen <tzafrir at debian.org>
Description: 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.
-Author: Tzafrir Cohen <tzafrir at debian.org>
-Last-Update: 2016-03-19
+Bug: https://issues.asterisk.org/jira/browse/ASTERISK-26676
+Last-Update: 2016-12-23
+
+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
@@ -32,3 +32,15 @@ Last-Update: 2016-03-19
+ <support_level>extended</support_level>
+ </member>
</category>
+diff --git a/build_tools/make_buildopts_h b/build_tools/make_buildopts_h
+index b9f9af2c..cb1bf459 100755
+--- a/build_tools/make_buildopts_h
++++ b/build_tools/make_buildopts_h
+@@ -29,6 +29,7 @@ for x in ${TMP}; do
+ -o "${x}" = "RADIO_RELAX" \
+ -o "${x}" = "DEBUG_SCHEDULER" \
+ -o "${x}" = "DETECT_DEADLOCKS" \
++ -o "${x}" = "TEST_FRAMEWORK" \
+ -o "${x}" = "DUMP_SCHEDULER" ; then
+ # These aren't ABI affecting options, keep them out of AST_BUILDOPTS
+ continue
--
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