Skip to content

Commit

Permalink
Don't run -ProperIeee754Comparisons
Browse files Browse the repository at this point in the history
  • Loading branch information
PavelPunegov committed Aug 17, 2018
1 parent 7dbfdc0 commit 6c819a8
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -857,6 +857,12 @@ fun runTest() {
return false
}

def inproperIeee754Comparisons = findLinesWithPrefixesRemoved(text, '// !LANGUAGE: ')
if (inproperIeee754Comparisons.contains('-ProperIeee754Comparisons')) {
// K/N supports only proper IEEE754 comparisons
return false
}

def version = findLinesWithPrefixesRemoved(text, '// LANGUAGE_VERSION: ')
if (version.size() != 0 && version.contains("1.3")) {
// 1.3 is not yet supported
Expand Down

0 comments on commit 6c819a8

Please sign in to comment.