Author: Olivier Sallou <osallou@debian.org>
Last-Update: 2018-04-17
Description: Enable tests using testng
Forwarded: not-needed
--- a/build.gradle
+++ b/build.gradle
@@ -214,13 +214,12 @@
 test {
     description = "Runs the unit tests other than external-API tests"
 
-   useTestNG {
-       exclude 'htsjdk/samtools/sra/**'
-       exclude 'htsjdk/samtools/BAMFileIndexTest.java'
-       exclude 'htsjdk/samtools/util/BlockCompressedOutputStreamTest.java'
-       }
-       threadCount = Runtime.runtime.availableProcessors()
-   }
+    useTestNG()
+         minHeapSize = "1G"
+         maxHeapSize = "8G"
+         exclude 'htsjdk/samtools/sra/**'
+         exclude 'htsjdk/samtools/BAMFileIndexTest.java'
+         exclude 'htsjdk/samtools/util/BlockCompressedOutputStreamTest.java'
 } dependsOn testWithDefaultReference, testWithOptimisticVCF4_4
 
 
