diff --git a/backend.native/tests/build.gradle b/backend.native/tests/build.gradle index bfc38177a17..5f421b625d8 100644 --- a/backend.native/tests/build.gradle +++ b/backend.native/tests/build.gradle @@ -51,7 +51,7 @@ abstract class KonanTest extends DefaultTask { @TaskAction void executeTest() { 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}") compileTest(sourceS, bc2s(runtimeBc), stdlibKtBc, exe) println "execution :${exe.absolutePath}"