[K/N] Mute LLDB tests if any other than DEBUG opt mode is used
This commit is contained in:
committed by
Space Team
parent
c802fd30c0
commit
ab4603c9a3
+3
-1
@@ -49,7 +49,9 @@ internal class StandardTestCaseGroupProvider : TestCaseGroupProvider {
|
||||
val testCases = includedTestDataFiles.map { testDataFile -> createTestCase(testDataFile, settings) }
|
||||
|
||||
val lldbTestCases = testCases.filter { it.kind == TestKind.STANDALONE_LLDB }
|
||||
if (lldbTestCases.isNotEmpty() && !settings.get<LLDB>().isAvailable) {
|
||||
if (lldbTestCases.isNotEmpty()
|
||||
&& (settings.get<OptimizationMode>() != OptimizationMode.DEBUG || !settings.get<LLDB>().isAvailable)
|
||||
) {
|
||||
lldbTestCases.mapTo(disabledTestCaseIds) { it.id }
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user