diff options
| author | Ganesh Viswanathan <dev@genotrance.com> | 2018-03-08 22:28:41 -0600 |
|---|---|---|
| committer | Ganesh Viswanathan <dev@genotrance.com> | 2018-03-08 22:28:41 -0600 |
| commit | bcace601d3ad7a62d255e17465a67f7a17011c05 (patch) | |
| tree | 6fd56f8fc5e37ae0b7619f2f94033874aedcfdd1 /tests | |
| parent | 968e89f08e08c1b0d93a63869e49b08879c70c51 (diff) | |
| download | nimgen-bcace601d3ad7a62d255e17465a67f7a17011c05.tar.gz nimgen-bcace601d3ad7a62d255e17465a67f7a17011c05.zip | |
Comment lines feature, remove docopt
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/nimgentest.nims | 19 |
1 files changed, 15 insertions, 4 deletions
diff --git a/tests/nimgentest.nims b/tests/nimgentest.nims index 085b597..b7eb4e7 100644 --- a/tests/nimgentest.nims +++ b/tests/nimgentest.nims @@ -1,7 +1,18 @@ +import distros import ospaths import strutils -for comp in @["nimbass", "nimfuzz", "nimssl", "nimssh2"]: - withDir(".."/comp): - exec "nimble install -y" - exec "nimble test" +var comps = @["libsvm", "nimbass", "nimfuzz", "nimssl", "nimssh2"] +if detectOs(Windows): + comps.add("nimkerberos") + +for comp in comps: + if dirExists(".."/comp): + exec "nimble uninstall -y " & comp + withDir(".."/comp): + rmDir(comp) + exec "nimble install -y" + exec "nimble test" + + exec "nimble install -y" + exec "nimble test" |
