Fix native test working directory
This commit is contained in:
committed by
Ilya Matveev
parent
6741a550d9
commit
3f452b2af2
+1
-2
@@ -396,8 +396,7 @@ open class KotlinNativeTargetConfigurator(
|
|||||||
|
|
||||||
val testExecutableProperty = testExecutableLinkTask.outputFile
|
val testExecutableProperty = testExecutableLinkTask.outputFile
|
||||||
executable = testExecutableProperty.get().absolutePath
|
executable = testExecutableProperty.get().absolutePath
|
||||||
// TODO: Provide a normal test path!
|
outputDir = project.layout.projectDirectory.asFile
|
||||||
outputDir = project.layout.buildDirectory.dir("test-results").get().asFile
|
|
||||||
|
|
||||||
if (project.hasProperty("teamcity.version")) {
|
if (project.hasProperty("teamcity.version")) {
|
||||||
args("--ktest_logger=TEAMCITY")
|
args("--ktest_logger=TEAMCITY")
|
||||||
|
|||||||
Reference in New Issue
Block a user