Filter out self output directory from classpath in FIR modularized test
This commit is contained in:
committed by
Mikhail Glukhikh
parent
e521e66c74
commit
8e200d8113
+4
-1
@@ -159,7 +159,10 @@ class FirResolveModularizedTotalKotlinTest : KtUsefulTestCase() {
|
|||||||
val item = moduleElement.childNodes.item(index)
|
val item = moduleElement.childNodes.item(index)
|
||||||
|
|
||||||
if (item.nodeName == "classpath") {
|
if (item.nodeName == "classpath") {
|
||||||
classpath += File(item.attributes.getNamedItem("path").nodeValue)
|
val path = item.attributes.getNamedItem("path").nodeValue
|
||||||
|
if (path != outputDir) {
|
||||||
|
classpath += File(path)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if (item.nodeName == "javaSourceRoots") {
|
if (item.nodeName == "javaSourceRoots") {
|
||||||
javaSourceRoots += File(item.attributes.getNamedItem("path").nodeValue)
|
javaSourceRoots += File(item.attributes.getNamedItem("path").nodeValue)
|
||||||
|
|||||||
Reference in New Issue
Block a user