From 95e1402d21154ec6894dee909a50a61fb50d095c Mon Sep 17 00:00:00 2001 From: David Roazen Date: Tue, 11 Feb 2014 14:03:26 -0500 Subject: [PATCH] Add ability to run *KnowledgeBaseTests to maven Run with: mvn verify -Dsting.knowledgebasetests.skipped=false --- ant-bridge.sh | 3 +++ pom.xml | 21 +++++++++++++++++++++ protected/gatk-protected/pom.xml | 3 +++ public/gatk-framework/pom.xml | 3 +++ public/gatk-package/pom.xml | 9 +++++++++ public/package-tests/pom.xml | 11 +++++++++++ public/queue-framework/pom.xml | 3 +++ public/queue-package/pom.xml | 9 +++++++++ public/sting-root/pom.xml | 15 +++++++++++++++ 9 files changed, 77 insertions(+) diff --git a/ant-bridge.sh b/ant-bridge.sh index 860b3ecc5..9f4713d7c 100755 --- a/ant-bridge.sh +++ b/ant-bridge.sh @@ -127,6 +127,9 @@ for arg in "${@}" ; do elif [[ "${arg}" == "largescaletest" ]] ; then mvn_args="verify -Dsting.largescaletests.skipped=false" + elif [[ "${arg}" == "knowledgebasetest" ]] ; then + mvn_args="verify -Dsting.knowledgebasetests.skipped=false" + elif [[ "${arg}" == "pipelinetest" ]] ; then mvn_args="verify -Dsting.pipelinetests.skipped=false" diff --git a/pom.xml b/pom.xml index aef2baab3..5a7bb2f97 100644 --- a/pom.xml +++ b/pom.xml @@ -50,6 +50,7 @@ ${sting.packagecommittests.skipped} ${sting.packagecommittests.skipped} true + true + + ${sting.packageknowledgebasetests.skipped} + + diff --git a/public/queue-framework/pom.xml b/public/queue-framework/pom.xml index 7a292ffe4..2f3f7b59a 100644 --- a/public/queue-framework/pom.xml +++ b/public/queue-framework/pom.xml @@ -183,6 +183,9 @@ package-largescaletests + + package-knowledgebasetests + package-pipelinetests diff --git a/public/queue-package/pom.xml b/public/queue-package/pom.xml index 087ffb6e7..790eeac72 100644 --- a/public/queue-package/pom.xml +++ b/public/queue-package/pom.xml @@ -159,6 +159,15 @@ + + knowledge-base-tests + + ${sting.serialknowledgebasetests.skipped} + + org.broadinstitute.sting:.* + + + diff --git a/public/sting-root/pom.xml b/public/sting-root/pom.xml index 9297c6569..66f4c5ff1 100644 --- a/public/sting-root/pom.xml +++ b/public/sting-root/pom.xml @@ -33,6 +33,7 @@ ${sting.committests.skipped} ${sting.committests.skipped} true + true false 1g 4g @@ -456,6 +457,20 @@ + + knowledge-base-tests + + integration-test + verify + + + + ${sting.knowledgebasetests.skipped} + + **/*KnowledgeBaseTest.class + + +