1 В избранное 0 Ответвления 0

OSCHINA-MIRROR/mirrors-GATK

Присоединиться к Gitlife
Откройте для себя и примите участие в публичных проектах с открытым исходным кодом с участием более 10 миллионов разработчиков. Приватные репозитории также полностью бесплатны :)
Присоединиться бесплатно
Клонировать/Скачать
testsettings.gradle 3.4 КБ
Копировать Редактировать Web IDE Исходные данные Просмотреть построчно История
samuelklee Отправлено 04.05.2020 17:13 bc17792
tasks.withType(Test) {
outputs.upToDateWhen { false } //tests will never be "up to date" so you can always rerun them
String TEST_VERBOSITY = "$System.env.TEST_VERBOSITY"
/**
* Valid options for TEST_TYPE are:
* cloud, integration, unit : run one of the three disjoint partitions of the test suite
* all : run all the tests
* anything else : run the non-cloud tests
*/
String TEST_TYPE = "$System.env.TEST_TYPE"
forkEvery 100
useTestNG {
if (TEST_TYPE == "cloud") {
// run only the cloud tests
includeGroups "cloud", "bucket"
} else if (TEST_TYPE == "integration"){
include "**/*IntegrationTest.class"
excludeGroups "cloud", "bucket", "python", "R", "funcotatorValidation", "variantcalling"
} else if (TEST_TYPE == "unit") {
exclude "**/*IntegrationTest.class"
excludeGroups "cloud", "bucket", "python", "R", "funcotatorValidation", "variantcalling"
} else if (TEST_TYPE == "variantcalling") {
includeGroups "variantcalling"
excludeGroups "cloud", "bucket", "python", "R", "funcotatorValidation"
} else if (TEST_TYPE == "spark") {
includeGroups "spark"
excludeGroups "cloud", "bucket", "python", "R", "funcotatorValidation", "variantcalling"
} else if (TEST_TYPE == "conda") {
includeGroups "python", "R"
} else if (TEST_TYPE == "all"){
//include everything
} else {
excludeGroups "cloud", "bucket", "python", "R", "funcotatorValidation"
}
}
systemProperty "samjdk.use_async_io_read_samtools", "false"
systemProperty "samjdk.use_async_io_write_samtools", "true"
systemProperty "samjdk.use_async_io_write_tribble", "false"
systemProperty "samjdk.compression_level", "2"
systemProperty "gatk.spark.debug", System.getProperty("gatk.spark.debug")
environment "SPARK_LOCAL_IP","127.0.0.1"
environment "SUPPRESS_GCLOUD_CREDS_WARNING","true"
// set heap size for the test JVM(s)
minHeapSize = "500M"
maxHeapSize = "3500M"
if (TEST_VERBOSITY == "minimal") {
int count = 0
// listen to events in the test execution lifecycle
beforeTest { descriptor ->
count++
if( count % 10000 == 0) {
logger.lifecycle("Finished "+ Integer.toString(count++) + " tests")
}
}
} else {
// show standard out and standard error of the test JVM(s) on the console
testLogging.showStandardStreams = true
beforeTest { descriptor ->
logger.lifecycle("Running Test: " + descriptor)
}
// listen to standard out and standard error of the test JVM(s)
onOutput { descriptor, event ->
logger.lifecycle("Test: " + descriptor + " produced standard out/err: " + event.message )
}
}
testLogging {
testLogging {
events "skipped", "failed"
exceptionFormat = "full"
}
afterSuite { desc, result ->
if (!desc.parent) { // will match the outermost suite
println "Results: ${result.resultType} (${result.testCount} tests, ${result.successfulTestCount} successes, ${result.failedTestCount} failures, ${result.skippedTestCount} skipped)"
}
}
}
}

Опубликовать ( 0 )

Вы можете оставить комментарий после Вход в систему

1
https://api.gitlife.ru/oschina-mirror/mirrors-GATK.git
git@api.gitlife.ru:oschina-mirror/mirrors-GATK.git
oschina-mirror
mirrors-GATK
mirrors-GATK
master