[PL][tests] Mark K/N codegen/box tests with disabled PL with a special tag

Using this tag such tests may be excluded at the buildserver from slow configurations.
This commit is contained in:
Dmitriy Dolovov
2023-04-04 18:01:36 +02:00
parent 846f704713
commit 31ed97e4ad
3 changed files with 1209 additions and 2 deletions
@@ -41,7 +41,8 @@ fun main() {
codegen(),
k1Codegen(),
provider<UseExtTestCaseGroupProvider>(),
noPartialLinkage()
noPartialLinkage(),
noPartialLinkageMayBeSkipped()
)
) {
model("codegen/box", targetBackend = TargetBackend.NATIVE)
@@ -66,7 +67,8 @@ fun main() {
firCodegen(),
provider<UseExtTestCaseGroupProvider>(),
provider<FirPipeline>(),
noPartialLinkage()
noPartialLinkage(),
noPartialLinkageMayBeSkipped()
)
) {
model("codegen/box", targetBackend = TargetBackend.NATIVE)
@@ -195,6 +197,9 @@ private fun noPartialLinkage() = annotation(
"mode" to UsePartialLinkage.Mode.DISABLED
)
// This is a special tag to mark codegen box tests with disabled partial linkage that may be skipped in slow TC configurations.
private fun noPartialLinkageMayBeSkipped() = annotation(Tag::class.java, "no-partial-linkage-may-be-skipped")
private fun codegen() = annotation(Tag::class.java, "codegen")
private fun k1Codegen() = annotation(Tag::class.java, "k1Codegen")
private fun codegenK2() = annotation(Tag::class.java, "codegenK2")