Skip to content

Commit

Permalink
disable test_iterator_typed on 2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
metagn committed Sep 27, 2024
1 parent 3191bd6 commit d39cc0d
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion applicates.nimble
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,19 @@ task docs, "build docs for all modules":
else:
echo "docs task not implemented, need nimbleutils"

import os

task tests, "run tests for multiple backends and defines":
when declared(runTests):
runTests(
var tests: seq[string] = @[]
for fn in walkDirRec("tests", followFilter = {}):
if (let (_, name, ext) = splitFile(fn);
name[0] == 't' and ext == ".nim"):
if name == "test_iterator_typed" and (NimMajor, NimMinor) == (2, 0):
# broken on 2.0
continue
tests.add(fn)
runTests(tests,
backends = {c, nims},
optionCombos = @[
"",
Expand Down

0 comments on commit d39cc0d

Please sign in to comment.