Move code conformance tests from compiler tests

#KTI-962
This commit is contained in:
Bogdan Mukvich
2022-11-03 11:49:51 +01:00
committed by Space Team
parent dec0946896
commit 080b034950
7 changed files with 37 additions and 19 deletions
+5
View File
@@ -628,6 +628,7 @@ tasks {
":compiler:tests-against-klib:test"
)
dependsOn(":plugins:jvm-abi-gen:test")
dependsOn(":repo:codebase-tests:test")
}
register("testsForBootstrapBuildTest") {
@@ -791,6 +792,10 @@ tasks {
dependsOn(":kotlin-annotation-processing-cli:test")
}
register("codebaseTests") {
dependsOn(":repo:codebase-tests:test")
}
register("test") {
doLast {
throw GradleException("Don't use directly, use aggregate tasks *-check instead")
-3
View File
@@ -35,9 +35,6 @@ dependencies {
testImplementation(commonDependency("org.jetbrains.kotlin:kotlin-reflect")) { isTransitive = false }
testImplementation(toolsJar())
testImplementation("com.fasterxml.jackson.dataformat:jackson-dataformat-xml:2.12.7")
testImplementation("com.fasterxml.jackson.module:jackson-module-kotlin:2.12.7")
testImplementation("com.fasterxml.woodstox:woodstox-core:6.2.4")
antLauncherJar(commonDependency("org.apache.ant", "ant"))
antLauncherJar(toolsJar())
+27
View File
@@ -0,0 +1,27 @@
plugins {
kotlin("jvm")
id("jps-compatible")
}
dependencies {
testImplementation(intellijCore())
testImplementation(projectTests(":compiler:tests-common"))
testImplementation("com.fasterxml.jackson.dataformat:jackson-dataformat-xml:2.12.7")
testImplementation("com.fasterxml.jackson.module:jackson-module-kotlin:2.12.7")
testImplementation("com.fasterxml.woodstox:woodstox-core:6.2.4")
}
sourceSets {
"main" {}
"test" {
projectDefault()
}
}
projectTest() {
dependsOn(":dist")
workingDir = rootDir
}
testsJar()
@@ -1,5 +1,5 @@
/*
* Copyright 2010-2020 JetBrains s.r.o. and Kotlin Programming Language contributors.
* Copyright 2010-2022 JetBrains s.r.o. and Kotlin Programming Language contributors.
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
*/
@@ -1,17 +1,6 @@
/*
* Copyright 2010-2015 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
* Copyright 2010-2022 JetBrains s.r.o. and Kotlin Programming Language contributors.
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
*/
package org.jetbrains.kotlin.code
+2 -2
View File
@@ -305,8 +305,8 @@ include ":kotlin-imports-dumper-compiler-plugin",
":plugins:jvm-abi-gen",
":plugins:jvm-abi-gen-embeddable",
":test-instrumenter",
":wasm:wasm.ir"
":wasm:wasm.ir",
":repo:codebase-tests"
include ":kotlinx-atomicfu-compiler-plugin",
":kotlinx-atomicfu-runtime",