From 47a0f5859e48a64a5d466f3370ee6d69126dbf88 Mon Sep 17 00:00:00 2001 From: Eric Banks Date: Wed, 31 Oct 2012 22:56:38 -0400 Subject: [PATCH] Don't run these tests if not GAKT lite --- .../genotyper/UnifiedGenotyperLiteIntegrationTest.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/public/java/test/org/broadinstitute/sting/gatk/walkers/genotyper/UnifiedGenotyperLiteIntegrationTest.java b/public/java/test/org/broadinstitute/sting/gatk/walkers/genotyper/UnifiedGenotyperLiteIntegrationTest.java index f9a921a86..783a8d7fc 100755 --- a/public/java/test/org/broadinstitute/sting/gatk/walkers/genotyper/UnifiedGenotyperLiteIntegrationTest.java +++ b/public/java/test/org/broadinstitute/sting/gatk/walkers/genotyper/UnifiedGenotyperLiteIntegrationTest.java @@ -1,14 +1,11 @@ package org.broadinstitute.sting.gatk.walkers.genotyper; import org.broadinstitute.sting.WalkerTest; -import org.broadinstitute.sting.gatk.GenomeAnalysisEngine; -import org.broadinstitute.sting.utils.exceptions.UserException; +import org.broadinstitute.sting.utils.classloader.GATKLiteUtils; +import org.testng.SkipException; import org.testng.annotations.Test; -import java.io.File; import java.util.Arrays; -import java.util.Collections; -import java.util.List; // ********************************************************************************** // // Note that this class also serves as an integration test for the VariantAnnotator! // @@ -26,6 +23,9 @@ public class UnifiedGenotyperLiteIntegrationTest extends WalkerTest { @Test public void testContaminationDownsampling() { + if ( !GATKLiteUtils.isGATKLite() ) + throw new SkipException("Only want to test for GATK lite"); + WalkerTest.WalkerTestSpec spec = new WalkerTest.WalkerTestSpec( baseCommand + " -I " + validationDataLocation + "NA12878.1kg.p2.chr1_10mb_11_mb.SLX.bam -o %s -L 1:10,000,000-10,010,000", 1, Arrays.asList("9addd225a985178339a0c49dc5fdc220"));