File: skip_test_using_lots_of_memory.patch

package info (click to toggle)
sra-sdk 3.2.1%2Bdfsg-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 296,128 kB
  • sloc: ansic: 532,876; cpp: 243,000; perl: 9,649; python: 8,978; sh: 7,888; java: 6,253; makefile: 1,148; yacc: 703; xml: 310; lex: 236
file content (24 lines) | stat: -rw-r--r-- 847 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
Author: Andreas Tille <tille@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/loaders/fastq-loader/test-id2name.cpp
+++ b/test/loaders/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');
@@ -162,6 +163,7 @@ FIXTURE_TEST_CASE ( NameTooLong, Id2name
     
     REQUIRE_RC_FAIL ( Id2Name_Add( & m_self, 1, str.c_str() ) );
 }
+*/
 
 //////////////////////////////////////////// Main
 extern "C"