make 'flags' test green on OSX

This commit is contained in:
Andreas Rumpf
2018-08-06 14:38:38 +02:00
parent 39b3b94008
commit 7f8eccb46f

View File

@@ -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)