build/tests: support declaring tests to be manually executed

This commit is contained in:
Svyatoslav Scherbina
2017-03-09 16:47:39 +07:00
committed by SvyatoslavScherbina
parent 725e367614
commit 304a9ebd8e
3 changed files with 9 additions and 1 deletions
+1
View File
@@ -1500,6 +1500,7 @@ task interop_echo_server(type: RunInteropKonanTest) {
if (isLinux()) {
disabled = true
}
run = false
source = "interop/basics/echo_server.kt"
interop = 'sockets'
}
@@ -2,7 +2,8 @@ import kotlinx.cinterop.*
import sockets.*
fun main(args: Array<String>) {
if (args.size == 0) {
if (args.size < 1) {
println("Usage: ./echo_server <port>")
return
}