Fix runtime tests dependencies (#4527)
This commit is contained in:
committed by
Stanislav Erokhin
parent
ee508efb23
commit
0a25eac957
+1
@@ -184,6 +184,7 @@ fun createTestTask(
|
|||||||
excludeFiles = emptyList()
|
excludeFiles = emptyList()
|
||||||
includeFiles = listOf("**/*Test.cpp", "**/*Test.mm")
|
includeFiles = listOf("**/*Test.cpp", "**/*Test.mm")
|
||||||
dependsOn(it)
|
dependsOn(it)
|
||||||
|
dependsOn("downloadGoogleTest")
|
||||||
compilerArgs.addAll(it.compilerArgs)
|
compilerArgs.addAll(it.compilerArgs)
|
||||||
headersDirs += googleTestExtension.headersDirs
|
headersDirs += googleTestExtension.headersDirs
|
||||||
this.configureCompileToBitcode()
|
this.configureCompileToBitcode()
|
||||||
|
|||||||
@@ -149,7 +149,9 @@ targetList.forEach { targetName ->
|
|||||||
"${targetName}Mimalloc",
|
"${targetName}Mimalloc",
|
||||||
"${targetName}OptAlloc"
|
"${targetName}OptAlloc"
|
||||||
)
|
)
|
||||||
)
|
) {
|
||||||
|
includeRuntime()
|
||||||
|
}
|
||||||
|
|
||||||
tasks.register("${targetName}RuntimeTests") {
|
tasks.register("${targetName}RuntimeTests") {
|
||||||
dependsOn("${targetName}StdAllocRuntimeTests")
|
dependsOn("${targetName}StdAllocRuntimeTests")
|
||||||
|
|||||||
Reference in New Issue
Block a user