only run tast2 on supported compilers

This commit is contained in:
Joey Yakimowich-Payne 2020-04-20 09:19:36 -06:00
commit 1953bff61b

View file

@ -37,8 +37,9 @@ task docs, "Generate docs":
task test, "Test":
buildToastTask()
execTest "tests/tast2.nim"
execTest "tests/tast2.nim", "-d:HEADER"
when (NimMajor, NimMinor, NimPatch) >= (1, 0, 0):
execTest "tests/tast2.nim"
execTest "tests/tast2.nim", "-d:HEADER"
execTest "tests/tnimterop_c.nim"
execTest "tests/tnimterop_c.nim", "-d:FLAGS=\"-f:ast2\""