Put tags to klib contents tests

Merge-request: KT-MR-8641
Merged-by: Vladimir Sukharev <Vladimir.Sukharev@jetbrains.com>
This commit is contained in:
Vladimir Sukharev
2023-02-08 15:42:00 +00:00
committed by Space Team
parent da98a47c4c
commit ab32f90117
4 changed files with 17 additions and 2 deletions
@@ -103,7 +103,8 @@ fun main() {
// Klib contents tests
testGroup("native/native.tests/tests-gen", "native/native.tests/testData") {
testClass<AbstractNativeKlibContentsTest>(
suiteTestClassName = "NativeK1LibContentsTestGenerated"
suiteTestClassName = "NativeK1LibContentsTestGenerated",
annotations = listOf(k1libContents())
) {
model("klibContents", pattern = "^([^_](.+)).kt$", recursive = true)
}
@@ -111,7 +112,7 @@ fun main() {
testGroup("native/native.tests/tests-gen", "native/native.tests/testData") {
testClass<AbstractNativeKlibContentsTest>(
suiteTestClassName = "NativeK2LibContentsTestGenerated",
annotations = listOf(provider<K2Pipeline>())
annotations = listOf(k2libContents(), provider<K2Pipeline>())
) {
model("klibContents", pattern = "^([^_](.+)).kt$", recursive = true)
}
@@ -141,3 +142,5 @@ private fun codegen() = annotation(Tag::class.java, "codegen")
private fun codegenK2() = annotation(Tag::class.java, "codegenK2")
private fun debugger() = annotation(Tag::class.java, "debugger")
private fun infrastructure() = annotation(Tag::class.java, "infrastructure")
private fun k1libContents() = annotation(Tag::class.java, "k1libContents")
private fun k2libContents() = annotation(Tag::class.java, "k2libContents")