summary refs log tree commit diff stats
diff options
context:
space:
mode:
-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)