[Analysis API] AbstractAnalysisApiBasedTest: exit from ignored tests before any analysis
It is possible that `prepareToTheAnalysis` will throw an exception for ignored test ^KT-64468
This commit is contained in:
committed by
Space Team
parent
bd9e69d196
commit
c0b333dfc1
+7
-6
@@ -137,12 +137,6 @@ abstract class AbstractAnalysisApiBasedTest : TestWithDisposable() {
|
||||
testServices = testConfiguration.testServices
|
||||
val moduleStructure = createModuleStructure(testConfiguration)
|
||||
|
||||
try {
|
||||
prepareToTheAnalysis(testConfiguration)
|
||||
} catch (ignored: SkipTestException) {
|
||||
return
|
||||
}
|
||||
|
||||
if (configurator.analyseInDependentSession && isDependentModeDisabledForTheTest()) {
|
||||
return
|
||||
}
|
||||
@@ -153,6 +147,13 @@ abstract class AbstractAnalysisApiBasedTest : TestWithDisposable() {
|
||||
return
|
||||
}
|
||||
|
||||
try {
|
||||
prepareToTheAnalysis(testConfiguration)
|
||||
} catch (ignored: SkipTestException) {
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
doTestByModuleStructure(moduleStructure, testServices)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user