Fix runtime tests dependencies (#4527)

This commit is contained in:
Alexander Shabalin
2020-11-16 09:50:14 +03:00
committed by Stanislav Erokhin
parent ee508efb23
commit 0a25eac957
2 changed files with 4 additions and 1 deletions
@@ -184,6 +184,7 @@ fun createTestTask(
excludeFiles = emptyList()
includeFiles = listOf("**/*Test.cpp", "**/*Test.mm")
dependsOn(it)
dependsOn("downloadGoogleTest")
compilerArgs.addAll(it.compilerArgs)
headersDirs += googleTestExtension.headersDirs
this.configureCompileToBitcode()
+3 -1
View File
@@ -149,7 +149,9 @@ targetList.forEach { targetName ->
"${targetName}Mimalloc",
"${targetName}OptAlloc"
)
)
) {
includeRuntime()
}
tasks.register("${targetName}RuntimeTests") {
dependsOn("${targetName}StdAllocRuntimeTests")