[med-svn] [hyphy] 03/03: Disable unneded test that breaks on 32 bit architectures

Andreas Tille tille at debian.org
Thu Jul 23 15:05:39 UTC 2015


This is an automated email from the git hooks/post-receive script.

tille pushed a commit to branch master
in repository hyphy.

commit d71f739104abd6048bb3d3f3e7a09277166d96b7
Author: Andreas Tille <tille at debian.org>
Date:   Thu Jul 23 16:58:54 2015 +0200

    Disable unneded test that breaks on 32 bit architectures
---
 debian/changelog                          |  6 +++++-
 debian/patches/remove_unneeded_test.patch | 24 ++++++++++++++++++++++++
 debian/patches/series                     |  1 +
 3 files changed, 30 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index b7568cd..2d40819 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,8 +1,12 @@
 hyphy (2.2.5+dfsg-2) UNRELEASED; urgency=medium
 
   * Versioned Build-Depends: cmake (>= 3.0)
-  * Drop profiling option
+  * Drop profiling option (Thanks for the hint to Michael Banck
+    <mbanck at debian.org>)
     Closes: #793345
+  * Disable unneded test that breaks on 32 bit architectures (Thanks for
+    the hint to Jakub Wilk <jwilk at debian.org>)
+    Closes: #793346
 
  -- Andreas Tille <tille at debian.org>  Thu, 23 Jul 2015 13:12:54 +0200
 
diff --git a/debian/patches/remove_unneeded_test.patch b/debian/patches/remove_unneeded_test.patch
new file mode 100644
index 0000000..026fe2c
--- /dev/null
+++ b/debian/patches/remove_unneeded_test.patch
@@ -0,0 +1,24 @@
+Description: Disable unneded test that breaks on 32 bit architectures
+ See https://lists.debian.org/debian-mentors/2015/07/msg00307.html
+Author: Andreas Tille <tille at debian.org>
+Last-Update: Thu, 23 Jul 2015 13:12:54 +0200
+Bug-Debian: http://bugs.debian.org/793346
+
+
+--- a/tests/gtests/ut_simplelists.cpp
++++ b/tests/gtests/ut_simplelists.cpp
+@@ -103,10 +103,10 @@ TEST_F(SimpleListTest,_StackCopyConstruc
+     EXPECT_EQ(3,sl3[0]);
+ }
+ 
+-TEST_F(SimpleListTest,_LengthConstructorTest){
+-    _SimpleList sl((long)7);
+-    EXPECT_EQ(8,sizeof(sl.lData));
+-}
++//TEST_F(SimpleListTest,_LengthConstructorTest){
++//    _SimpleList sl((long)7);
++//    EXPECT_EQ(8,sizeof(sl.lData));
++//}
+ 
+ TEST_F(SimpleListTest, _PopulateTest){
+     _SimpleList sl; 
diff --git a/debian/patches/series b/debian/patches/series
index e1cd0ff..8558cf8 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -2,3 +2,4 @@
 use_debian_sqlite.patch
 spelling.patch
 drop_profiling_option.patch
+remove_unneeded_test.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/hyphy.git



More information about the debian-med-commit mailing list