Fix file separator in tests for Windows
This commit is contained in:
committed by
Vasily Levchenko
parent
0324ee508e
commit
4610d9f171
@@ -358,7 +358,8 @@ task run_external () {
|
||||
if (!file.isDirectory() || !file.file.list().any{ it.endsWith(".kt")})
|
||||
return
|
||||
def taskPath = rootProject.relativePath(file.file)
|
||||
def taskName = taskPath.split(System.properties["file.separator"]).join('_')
|
||||
def fileSeparator = System.properties["file.separator"]
|
||||
def taskName = taskPath.split("\\$fileSeparator").join('_')
|
||||
project.tasks.register(taskName, RunExternalTestGroup) {
|
||||
it.groupDirectory = taskPath
|
||||
it.finalizedBy resultsTask
|
||||
|
||||
Reference in New Issue
Block a user