Revert "[K/N][Tests] Migrate test override_konan_properties0"

This reverts commit 9ef051dbc5.
This commit is contained in:
Alexander Shabalin
2024-02-21 23:41:15 +01:00
committed by Space Team
parent 8518c3f54f
commit 4765cfda53
6 changed files with 30 additions and 81 deletions
@@ -912,6 +912,21 @@ standaloneTest("testing_stacktrace") {
}
}
// Just check that the driver is able to produce runnable binaries.
tasks.register("driver0", KonanDriverTest) {
disabled = isAggressiveGC // No need to test with different GC schedulers
useGoldenData = true
source = "runtime/basic/driver0.kt"
}
tasks.register("driver_opt", KonanDriverTest) {
disabled = (cacheTesting != null) // Cache is not compatible with -opt.
|| isAggressiveGC // No need to test with different GC schedulers
useGoldenData = true
source = "runtime/basic/driver_opt.kt"
flags = ["-opt"]
}
// A helper method to create interop artifacts
void createInterop(String name, Closure conf) {
konanArtifacts {
@@ -0,0 +1,9 @@
/*
* 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.
*/
// TODO: remove kotlin_native.io once overrides are in place.
fun main(args : Array<String>) {
println("Hello, world!")
}
@@ -0,0 +1 @@
Hello, world!