Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- task test, "run all tests":
- var test_subdir1 = false
- for i in countdown(paramCount(), 1):
- if i.paramStr == "subdir1":
- test_c64 = true
- break
- if test_c64:
- for entry in walkDir("tests/subdir1"):
- let path = entry.path
- if path.contains("/test_") and path.endsWith(".nim"):
- echo "nim r " & path
Advertisement
Add Comment
Please, Sign In to add comment