Merged bug fix from Stable into Unstable
This commit is contained in:
commit
a53b4a7521
|
|
@ -64,16 +64,16 @@ public class EngineFeaturesIntegrationTest extends WalkerTest {
|
|||
}
|
||||
|
||||
@Test() private void testMissingBAMnt1() {
|
||||
testMissingFile("missing BAM", "-T UnifiedGenotyper -I missing.bam -nt 1");
|
||||
testMissingFile("missing BAM", "-T PrintReads -I missing.bam -nt 1");
|
||||
}
|
||||
@Test() private void testMissingBAMnt4() {
|
||||
testMissingFile("missing BAM", "-T UnifiedGenotyper -I missing.bam -nt 4");
|
||||
testMissingFile("missing BAM", "-T PrintReads -I missing.bam -nt 4");
|
||||
}
|
||||
@Test() private void testMissingVCF() {
|
||||
testMissingFile("missing VCF", "-T SelectVariants -V missing.vcf");
|
||||
}
|
||||
@Test() private void testMissingInterval() {
|
||||
testMissingFile("missing interval", "-T UnifiedGenotyper -L missing.interval_list -I " + b37GoodBAM);
|
||||
testMissingFile("missing interval", "-T PrintReads -L missing.interval_list -I " + b37GoodBAM);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -71,7 +71,7 @@ public class MaxRuntimeIntegrationTest extends WalkerTest {
|
|||
@Test(enabled = true, dataProvider = "MaxRuntimeProvider", timeOut = 60 * 1000)
|
||||
public void testMaxRuntime(final MaxRuntimeTestProvider cfg) {
|
||||
WalkerTest.WalkerTestSpec spec = new WalkerTest.WalkerTestSpec(
|
||||
"-T UnifiedGenotyper -R " + hg18Reference
|
||||
"-T PrintReads -R " + hg18Reference
|
||||
+ " -I " + validationDataLocation + "NA12878.WEx.downsampled20x.bam -o /dev/null"
|
||||
+ " -maxRuntime " + cfg.maxRuntime + " -maxRuntimeUnits " + cfg.unit, 0,
|
||||
Collections.<String>emptyList());
|
||||
|
|
|
|||
|
|
@ -75,7 +75,7 @@ public class DictionaryConsistencyIntegrationTest extends WalkerTest {
|
|||
@Test public void failBAM8() { executeTest("hg18bam-v-lexhg18", testBAM(lexHG18, hg18BAM, "chr1", UserException.LexicographicallySortedSequenceDictionary.class)); }
|
||||
|
||||
private WalkerTest.WalkerTestSpec testBAM(String ref, String bam, String contig, Class c) {
|
||||
return new WalkerTest.WalkerTestSpec("-T UnifiedGenotyper -I " + bam + " -R " + ref + " -L " + contig + ":10,000,000-11,000,000 -o %s",
|
||||
return new WalkerTest.WalkerTestSpec("-T PrintReads -I " + bam + " -R " + ref + " -L " + contig + ":10,000,000-11,000,000 -o %s",
|
||||
1, c);
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue