TEST: executables has .kt.exe extension
This commit is contained in:
@@ -51,7 +51,7 @@ abstract class KonanTest extends DefaultTask {
|
|||||||
@TaskAction
|
@TaskAction
|
||||||
void executeTest() {
|
void executeTest() {
|
||||||
def sourceS = bc2s(kt2bc(source))
|
def sourceS = bc2s(kt2bc(source))
|
||||||
def exe = new File(sourceS.absolutePath.replace(".kt.S", ""))
|
def exe = new File(sourceS.absolutePath.replace(".kt.S", ".kt.exe"))
|
||||||
def libraryPath = new File("${runtimeProject.file('src/main/bc').absolutePath}")
|
def libraryPath = new File("${runtimeProject.file('src/main/bc').absolutePath}")
|
||||||
compileTest(sourceS, bc2s(runtimeBc), stdlibKtBc, exe)
|
compileTest(sourceS, bc2s(runtimeBc), stdlibKtBc, exe)
|
||||||
println "execution :${exe.absolutePath}"
|
println "execution :${exe.absolutePath}"
|
||||||
|
|||||||
Reference in New Issue
Block a user