[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:
+601
File diff suppressed because it is too large
Load Diff
+601
File diff suppressed because it is too large
Load Diff
+7
-2
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user