Fixes to Kotlin/Native test directives infrastructure.

* parse files and modules separately
* fix default and support modules usage
* add another way to ignore backend (new directive)
* add new test to exclude list
This commit is contained in:
Pavel Punegov
2021-03-30 10:34:07 +03:00
committed by Space
parent 7d13aaad24
commit 6aa7628808
4 changed files with 90 additions and 55 deletions
@@ -326,8 +326,7 @@ task run_external () {
rootProject.files(
'compiler/testData/codegen/box',
'compiler/codegen/boxInline',
'compiler/compileKotlinAgainstKotlin'
'compiler/testData/codegen/boxInline'
).asFileTree.visit { file ->
if (!file.isDirectory() || !file.file.list().any{ it.endsWith(".kt")})
return