parent
44a27ccfe1
commit
4e0f12092e
5 changed files with 38 additions and 14 deletions
14
tests/compiler/tcmdlineoswin.nim
Normal file
14
tests/compiler/tcmdlineoswin.nim
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
discard """
|
||||
cmd: "nim $target $options --os:windows $file"
|
||||
disabled: "linux"
|
||||
disabled: "bsd"
|
||||
disabled: "macosx"
|
||||
disabled: "unix"
|
||||
disabled: "posix"
|
||||
"""
|
||||
|
||||
import strutils
|
||||
|
||||
static:
|
||||
#os is set to "linux" in toswin.nim.cfg, but --os:windows in command line should override it.
|
||||
doAssert cmpIgnoreCase(hostOS, "windows") == 0
|
||||
Loading…
Add table
Add a link
Reference in a new issue