summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorMiran <narimiran@disroot.org>2019-02-19 11:43:34 +0100
committerAndreas Rumpf <rumpf_a@web.de>2019-02-19 11:43:34 +0100
commit2fae94cdc597542478aa308d0ec0eb74bf61021c (patch)
treec063d7d4bd4ca3f6baa895145ccece5e08d24af0
parent83f5839e2c1fa0c3c2c579c63eb52351a757d9cc (diff)
downloadNim-2fae94cdc597542478aa308d0ec0eb74bf61021c.tar.gz
add more nimble packages to the test (#10707)
-rw-r--r--testament/categories.nim4
-rw-r--r--testament/important_packages.nim9
2 files changed, 11 insertions, 2 deletions
diff --git a/testament/categories.nim b/testament/categories.nim
index c7365e8fd..337d15f4f 100644
--- a/testament/categories.nim
+++ b/testament/categories.nim
@@ -486,7 +486,9 @@ iterator listPackages(filter: PackageFilter):
             yield (name, url, defaultCmd, false)
         of pfExtraOnly:
           for n, cmd, commit, hasDeps in important_packages.packages.items:
-            if name == n: yield (name, url, cmd, hasDeps)
+            if name == n:
+              let cmd = if cmd.len == 0: defaultCmd else: cmd
+              yield (name, url, cmd, hasDeps)
         of pfAll:
           yield (name, url, defaultCmd, false)
 
diff --git a/testament/important_packages.nim b/testament/important_packages.nim
index e4cbec7f8..da43e3415 100644
--- a/testament/important_packages.nim
+++ b/testament/important_packages.nim
@@ -8,7 +8,11 @@ var packages*: seq[tuple[name, cmd, version: string; hasDeps: bool]] = @[]
 
 pkg "arraymancer", "nim c src/arraymancer.nim", "", true
 pkg "ast_pattern_matching", "nim c tests/test1.nim"
+pkg "blscurve", "", "", true
+pkg "bncurve", "nim c tests/tarith.nim", "", true
 pkg "c2nim"
+pkg "chronicles", "nim c -o:chr chronicles.nim"
+pkg "chronos", "nim c tests/teststream.nim"
 pkg "cligen", "nim c -o:cligenn cligen.nim"
 pkg "compactdict", "nim c tests/test1.nim"
 pkg "criterion"
@@ -25,20 +29,23 @@ pkg "loopfusion"
 pkg "nake", "nim c nakefile.nim"
 pkg "neo", "nim c -d:blas=openblas tests/all.nim", "", true
 pkg "nigui", "nim c -o:niguii src/nigui.nim"
+pkg "nimcrypto", "nim c tests/testapi.nim"
 pkg "NimData", "nim c -o:nimdataa src/nimdata.nim", "", true
 pkg "nimes", "nim c src/nimes.nim", "", true
 pkg "nimgame2", "nim c nimgame2/nimgame.nim", "", true
 pkg "nimongo", "nimble test_ci", "", true
 pkg "nimpy", "nim c -o:nimpyy nimpy.nim"
 pkg "nimsl", "nim c test.nim"
+pkg "nimsvg", "nim c src/nimsvg.nim"
 pkg "nimx", "nim c --threads:on test/main.nim", "", true
 pkg "parsetoml"
 pkg "patty"
 pkg "plotly", "nim c examples/all.nim", "", true
 pkg "protobuf", "nim c -o:protobuff src/protobuf.nim", "", true
 pkg "regex", "nim c src/regex"
-pkg "rosencrantz", "nim c -o:rsncntz rosencrantz.nim"
+pkg "rosencrantz"
 pkg "sdl1", "nim c src/sdl.nim"
 pkg "sdl2_nim", "nim c sdl2/sdl.nim"
 pkg "stint", "nim c -o:stintt stint.nim"
 pkg "zero_functional", "nim c test.nim"
+