[med-svn] [Git][med-team/sra-sdk][master] Skip test that test needs a *lot* of memory

Andreas Tille (@tille) gitlab at salsa.debian.org
Mon Oct 18 06:21:44 BST 2021



Andreas Tille pushed to branch master at Debian Med / sra-sdk


Commits:
66d53d7b by Andreas Tille at 2021-10-18T07:21:25+02:00
Skip test that test needs a *lot* of memory

- - - - -


3 changed files:

- debian/changelog
- debian/patches/series
- + debian/patches/skip_test_using_lots_of_memory.patch


Changes:

=====================================
debian/changelog
=====================================
@@ -5,6 +5,7 @@ sra-sdk (2.11.2+dfsg-1) UNRELEASED; urgency=medium
   * New upstream version
   * Standards-Version: 4.6.0 (routine-update)
   * Bump versioned Build-Depends: libngs-sdk-dev (>= 2.11.2)
+  * Skip test that test needs a *lot* of memory
 
   [ Aaron M. Ucko ]
   * d/p/fix_libngs_linkage.patch (new): Substitute ngs-c++ library for
@@ -12,7 +13,7 @@ sra-sdk (2.11.2+dfsg-1) UNRELEASED; urgency=medium
   * debian/rules: Stop renaming kget (to avoid a file conflict, #851219)
     now that it's retired altogether.
 
- -- Aaron M. Ucko <ucko at debian.org>  Thu, 14 Oct 2021 16:27:47 -0400
+ -- Andreas Tille <tille at debian.org>  Fri, 15 Oct 2021 07:01:52 +0200
 
 sra-sdk (2.10.9+dfsg-2) unstable; urgency=medium
 


=====================================
debian/patches/series
=====================================
@@ -21,3 +21,4 @@ use_exposed_headers.patch
 #reenable_legacy_schema_in_sra_load.patch
 skip_broken_loaders.patch
 fix_libngs_linkage.patch
+skip_test_using_lots_of_memory.patch


=====================================
debian/patches/skip_test_using_lots_of_memory.patch
=====================================
@@ -0,0 +1,24 @@
+Author: Andreas Tille <tille at debian.org>
+Last-Update: Fri, 15 Oct 2021 07:01:52 +0200
+Description: Skip test that test needs a *lot* of memory -- at
+  least 4G, quite possibly 8G if there's copying involved
+  see https://lists.debian.org/debian-med/2021/10/msg00069.html
+
+--- a/test/fastq-loader/test-id2name.cpp
++++ b/test/fastq-loader/test-id2name.cpp
+@@ -136,6 +136,7 @@ FIXTURE_TEST_CASE ( AddRealloc, Id2name_
+     REQUIRE_EQ ( str, string ( m_res ) );
+ }
+ 
++/*
+ FIXTURE_TEST_CASE ( MiltipleBuffers, Id2name_Fixture )
+ {   // exceed a single KDataBuffer's size limit of 2**32-1 bytes
+     string str1 ( 0x7fffffff, '1');
+@@ -147,6 +148,7 @@ FIXTURE_TEST_CASE ( MiltipleBuffers, Id2
+     REQUIRE_RC ( Id2Name_Get ( & m_self, 2, & m_res ) );
+     REQUIRE_EQ ( str2, string ( m_res ) );
+ }
++*/
+ 
+ FIXTURE_TEST_CASE ( NameTooLong, Id2name_Fixture )
+ {   // reject names exceeding KDataBuffer's size limit of 2**32-1 bytes



View it on GitLab: https://salsa.debian.org/med-team/sra-sdk/-/commit/66d53d7b94735488e15005bcf8a096cdf6b0ebba

-- 
View it on GitLab: https://salsa.debian.org/med-team/sra-sdk/-/commit/66d53d7b94735488e15005bcf8a096cdf6b0ebba
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20211018/b17acd5d/attachment-0001.htm>


More information about the debian-med-commit mailing list