Guest User

Untitled

a guest
Feb 7th, 2023
148
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Nim 0.34 KB | None | 0 0
  1. task test, "run all tests":
  2.   var test_subdir1 = false
  3.   for i in countdown(paramCount(), 1):
  4.     if i.paramStr == "subdir1":
  5.       test_c64 = true
  6.       break
  7.   if test_c64:
  8.     for entry in walkDir("tests/subdir1"):
  9.       let path = entry.path
  10.       if path.contains("/test_") and path.endsWith(".nim"):
  11.         echo "nim r " & path
  12.  
Advertisement
Add Comment
Please, Sign In to add comment