[Native][tests] Fix failing 'runtime_basic_init' test

This test should have it's own test data file.

Previously it used 'hello3.kt' test data file shared with 'hello3' test which uses golden data. This caused a conflict.
This commit is contained in:
Dmitriy Dolovov
2021-08-31 20:54:15 +03:00
parent ab5314059d
commit b506704a2b
2 changed files with 17 additions and 1 deletions
@@ -5642,7 +5642,7 @@ Task pluginTest(String name, String pluginName, Closure configureClosure) {
pluginTest("runtime_basic_init", "nopPlugin") {
disabled = (project.testTarget == 'wasm32')
source = "runtime/basic/hello3.kt"
source = "runtime/basic/runtime_basic_init.kt"
flags = ["-tr"]
}
@@ -0,0 +1,16 @@
/*
* Copyright 2010-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
* that can be found in the LICENSE file.
*/
package runtime.basic.runtime_basic_init
import kotlin.test.*
@Test fun runTest() {
println(239)
// TODO: enable, once override by name is implemented.
println(true)
println(3.14159)
println('A')
}