[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:
@@ -5642,7 +5642,7 @@ Task pluginTest(String name, String pluginName, Closure configureClosure) {
|
|||||||
|
|
||||||
pluginTest("runtime_basic_init", "nopPlugin") {
|
pluginTest("runtime_basic_init", "nopPlugin") {
|
||||||
disabled = (project.testTarget == 'wasm32')
|
disabled = (project.testTarget == 'wasm32')
|
||||||
source = "runtime/basic/hello3.kt"
|
source = "runtime/basic/runtime_basic_init.kt"
|
||||||
flags = ["-tr"]
|
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')
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user