Build: Add a separate task for K2 native codegen box tests
This commit is contained in:
@@ -44,6 +44,7 @@ if (kotlinBuildProperties.isInJpsBuildIdeaSync) {
|
||||
// Tasks that run different sorts of tests. Most frequent use case: running specific tests at TeamCity.
|
||||
val infrastructureTest = nativeTest("infrastructureTest", "infrastructure")
|
||||
val codegenBoxTest = nativeTest("codegenBoxTest", "codegen")
|
||||
val codegenK2BoxTest = nativeTest("codegenK2BoxTest", "codegenK2")
|
||||
val stdlibTest = nativeTest("stdlibTest", "stdlib")
|
||||
val kotlinTestLibraryTest = nativeTest("kotlinTestLibraryTest", "kotlin-test")
|
||||
val klibAbiTest = nativeTest("klibAbiTest", "klib-abi")
|
||||
|
||||
+590
-590
File diff suppressed because it is too large
Load Diff
+2
-1
@@ -34,7 +34,7 @@ fun main() {
|
||||
testGroup("native/native.tests/tests-gen", "compiler/testData") {
|
||||
testClass<AbstractNativeCodegenBoxTest>(
|
||||
suiteTestClassName = "K2NativeCodegenBoxTestGenerated",
|
||||
annotations = listOf(codegen(), provider<UseExtTestCaseGroupProvider>(), provider<K2Pipeline>())
|
||||
annotations = listOf(codegenK2(), provider<UseExtTestCaseGroupProvider>(), provider<K2Pipeline>())
|
||||
) {
|
||||
model("codegen/box", targetBackend = TargetBackend.NATIVE)
|
||||
model("codegen/boxInline", targetBackend = TargetBackend.NATIVE)
|
||||
@@ -121,5 +121,6 @@ private fun debugOnly() = annotation(
|
||||
)
|
||||
|
||||
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")
|
||||
|
||||
Reference in New Issue
Block a user