summary refs log tree commit diff stats
path: root/tests/compiler/tcmdlineoswin.nim
blob: 602671e989b896c1db82b0e518ea593369f6c15f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
discard """
  cmd: "nim $target $options --os:windows $file"
  disabled: "linux"
  disabled: "bsd"
  disabled: "osx"
  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