aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGanesh Viswanathan <dev@genotrance.com>2020-04-07 20:24:09 -0500
committerGanesh Viswanathan <dev@genotrance.com>2020-04-07 20:24:09 -0500
commitc574dd12593b5154e060337b829358c067c9d3d8 (patch)
tree7cab2cea7bfa6cb3b7b454cedd441e89b700782f
parentd877b204077c80422666e2f89418cdda64f0720f (diff)
parent31ed046e3b1d472c70959636114c737345197a44 (diff)
downloadnimterop-newalgo-4.tar.gz
nimterop-newalgo-4.zip
Merge branch 'newalgo-4' of https://github.com/nimterop/nimterop into newalgo-4newalgo-4
-rw-r--r--nimterop.nimble2
-rw-r--r--tests/tmath.nim9
2 files changed, 7 insertions, 4 deletions
diff --git a/nimterop.nimble b/nimterop.nimble
index 58a99b0..cd36e1c 100644
--- a/nimterop.nimble
+++ b/nimterop.nimble
@@ -54,6 +54,8 @@ task test, "Test":
# Platform specific tests
when defined(Windows):
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"):
execTest "tests/tsoloud.nim"
execTest "tests/tsoloud.nim", "-d:FLAGS=\"-f:ast2\""
diff --git a/tests/tmath.nim b/tests/tmath.nim
index 1f804ab..5d84700 100644
--- a/tests/tmath.nim
+++ b/tests/tmath.nim
@@ -1,10 +1,11 @@
import unittest
import nimterop/cimport
-type
- locale_t = object
- mingw_ldbl_type_t = object
- mingw_dbl_type_t = object
+cOverride:
+ type
+ locale_t = object
+ mingw_ldbl_type_t = object
+ mingw_dbl_type_t = object
when defined(windows):
cOverride: