Do not run tests for -ReleaseCoroutines
This commit is contained in:
committed by
Pavel Punegov
parent
2b1c607ef2
commit
fe28888bfd
@@ -858,12 +858,13 @@ fun runTest() {
|
||||
def text = project.file(fileName).text
|
||||
|
||||
def languageSettings = findLinesWithPrefixesRemoved(text, '// !LANGUAGE: ')
|
||||
if (languageSettings.contains('-ProperIeee754Comparisons')) {
|
||||
// K/N supports only proper IEEE754 comparisons
|
||||
return false
|
||||
}
|
||||
if (languageSettings.contains('+NewInference')) {
|
||||
return false
|
||||
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
|
||||
return false
|
||||
}
|
||||
}
|
||||
|
||||
def version = findLinesWithPrefixesRemoved(text, '// LANGUAGE_VERSION: ')
|
||||
|
||||
Reference in New Issue
Block a user