summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2018-08-06 14:38:38 +0200
committerAndreas Rumpf <rumpf_a@web.de>2018-08-06 15:27:17 +0200
commit7f8eccb46f43ed689e1724915f4e66ae92bc94eb (patch)
treeb9050ae636643f7ff33f72b53bd0bbb519818fb5
parent39b3b940084d6d04293504024dd62005348b86cf (diff)
downloadNim-7f8eccb46f43ed689e1724915f4e66ae92bc94eb.tar.gz
make 'flags' test green on OSX
-rw-r--r--tests/testament/categories.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/testament/categories.nim b/tests/testament/categories.nim
index cde8880b3..75da486dc 100644
--- a/tests/testament/categories.nim
+++ b/tests/testament/categories.nim
@@ -76,7 +76,7 @@ proc flagTests(r: var TResults, cat: Category, options: string) =
     testExec r, makeTest(filename, " cmd /c cd " & nimcache &
                          " && compile_tgenscript.bat", cat)
 
-  when defined(linux):
+  elif defined(posix):
     testExec r, makeTest(filename, " sh -c \"cd " & nimcache &
                          " && sh compile_tgenscript.sh\"", cat)