Check for Windows compilation in the tester.
This commit is contained in:
parent
56dd401831
commit
9f0aae0432
1 changed files with 3 additions and 0 deletions
|
|
@ -18,6 +18,9 @@ createDir(installDir)
|
||||||
test "can compile nimble":
|
test "can compile nimble":
|
||||||
check execCmdEx("nim c " & path).exitCode == QuitSuccess
|
check execCmdEx("nim c " & path).exitCode == QuitSuccess
|
||||||
|
|
||||||
|
test "can compile with --os:windows":
|
||||||
|
check execCmdEx("nim check --os:windows " & path).exitCode == QuitSuccess
|
||||||
|
|
||||||
template cd*(dir: string, body: untyped) =
|
template cd*(dir: string, body: untyped) =
|
||||||
## Sets the current dir to ``dir``, executes ``body`` and restores the
|
## Sets the current dir to ``dir``, executes ``body`` and restores the
|
||||||
## previous working dir.
|
## previous working dir.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue