Move code conformance tests from compiler tests
#KTI-962
This commit is contained in:
committed by
Space Team
parent
dec0946896
commit
080b034950
@@ -628,6 +628,7 @@ tasks {
|
|||||||
":compiler:tests-against-klib:test"
|
":compiler:tests-against-klib:test"
|
||||||
)
|
)
|
||||||
dependsOn(":plugins:jvm-abi-gen:test")
|
dependsOn(":plugins:jvm-abi-gen:test")
|
||||||
|
dependsOn(":repo:codebase-tests:test")
|
||||||
}
|
}
|
||||||
|
|
||||||
register("testsForBootstrapBuildTest") {
|
register("testsForBootstrapBuildTest") {
|
||||||
@@ -791,6 +792,10 @@ tasks {
|
|||||||
dependsOn(":kotlin-annotation-processing-cli:test")
|
dependsOn(":kotlin-annotation-processing-cli:test")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
register("codebaseTests") {
|
||||||
|
dependsOn(":repo:codebase-tests:test")
|
||||||
|
}
|
||||||
|
|
||||||
register("test") {
|
register("test") {
|
||||||
doLast {
|
doLast {
|
||||||
throw GradleException("Don't use directly, use aggregate tasks *-check instead")
|
throw GradleException("Don't use directly, use aggregate tasks *-check instead")
|
||||||
|
|||||||
@@ -35,9 +35,6 @@ dependencies {
|
|||||||
|
|
||||||
testImplementation(commonDependency("org.jetbrains.kotlin:kotlin-reflect")) { isTransitive = false }
|
testImplementation(commonDependency("org.jetbrains.kotlin:kotlin-reflect")) { isTransitive = false }
|
||||||
testImplementation(toolsJar())
|
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(commonDependency("org.apache.ant", "ant"))
|
||||||
antLauncherJar(toolsJar())
|
antLauncherJar(toolsJar())
|
||||||
|
|||||||
@@ -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
-1
@@ -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.
|
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
+2
-13
@@ -1,17 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 2010-2015 JetBrains s.r.o.
|
* 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.
|
||||||
* 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.
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package org.jetbrains.kotlin.code
|
package org.jetbrains.kotlin.code
|
||||||
+2
-2
@@ -305,8 +305,8 @@ include ":kotlin-imports-dumper-compiler-plugin",
|
|||||||
":plugins:jvm-abi-gen",
|
":plugins:jvm-abi-gen",
|
||||||
":plugins:jvm-abi-gen-embeddable",
|
":plugins:jvm-abi-gen-embeddable",
|
||||||
":test-instrumenter",
|
":test-instrumenter",
|
||||||
":wasm:wasm.ir"
|
":wasm:wasm.ir",
|
||||||
|
":repo:codebase-tests"
|
||||||
|
|
||||||
include ":kotlinx-atomicfu-compiler-plugin",
|
include ":kotlinx-atomicfu-compiler-plugin",
|
||||||
":kotlinx-atomicfu-runtime",
|
":kotlinx-atomicfu-runtime",
|
||||||
|
|||||||
Reference in New Issue
Block a user