Merge branch 'newalgo-4' of https://github.com/nimterop/nimterop into newalgo-4

This commit is contained in:
Ganesh Viswanathan 2020-04-07 20:24:09 -05:00
commit c574dd1259
2 changed files with 7 additions and 4 deletions

View file

@ -54,6 +54,8 @@ task test, "Test":
# Platform specific tests # Platform specific tests
when defined(Windows): when defined(Windows):
execTest "tests/tmath.nim" execTest "tests/tmath.nim"
execTest "tests/tmath.nim", "-d:FLAGS=\"-f:ast2\""
execTest "tests/tmath.nim", "-d:FLAGS=\"-f:ast2 -H\""
if defined(OSX) or defined(Windows) or not existsEnv("TRAVIS"): if defined(OSX) or defined(Windows) or not existsEnv("TRAVIS"):
execTest "tests/tsoloud.nim" execTest "tests/tsoloud.nim"
execTest "tests/tsoloud.nim", "-d:FLAGS=\"-f:ast2\"" execTest "tests/tsoloud.nim", "-d:FLAGS=\"-f:ast2\""

View file

@ -1,10 +1,11 @@
import unittest import unittest
import nimterop/cimport import nimterop/cimport
type cOverride:
locale_t = object type
mingw_ldbl_type_t = object locale_t = object
mingw_dbl_type_t = object mingw_ldbl_type_t = object
mingw_dbl_type_t = object
when defined(windows): when defined(windows):
cOverride: cOverride: