Filter out tests for reflection and -DataClassInheritance
This commit is contained in:
committed by
Pavel Punegov
parent
4a8faa6961
commit
117712ff40
@@ -898,12 +898,15 @@ fun runTest() {
|
||||
|
||||
if (excludeList.contains(fileName)) return false
|
||||
|
||||
if (findLinesWithPrefixesRemoved(text, "// WITH_REFLECT").size() != 0) return false
|
||||
|
||||
def languageSettings = findLinesWithPrefixesRemoved(text, '// !LANGUAGE: ')
|
||||
if (!languageSettings.empty) {
|
||||
def settings = languageSettings.first()
|
||||
if (settings.contains('-ProperIeee754Comparisons') || // K/N supports only proper IEEE754 comparisons
|
||||
settings.contains('+NewInference') || // New inference is not implemented
|
||||
settings.contains('-ReleaseCoroutines')) { // only release coroutines
|
||||
settings.contains('-ReleaseCoroutines') || // only release coroutines
|
||||
settings.contains('-DataClassInheritance')) { // old behavior is not supported
|
||||
return false
|
||||
}
|
||||
}
|
||||
@@ -932,6 +935,7 @@ fun runTest() {
|
||||
if (!findLinesWithPrefixesRemoved(text, "// JVM_TARGET:").isEmpty()) { return false }
|
||||
return true
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user