* fixes #12642

* update important packages; refs #18804

* fixes #18805; refs #18806

* fixes a regression

* Update testament/categories.nim

Co-authored-by: flywind <xzsflywind@gmail.com>

* progress

* progress

Co-authored-by: flywind <xzsflywind@gmail.com>
This commit is contained in:
Andreas Rumpf 2021-09-06 17:43:03 +02:00 • committed by GitHub
commit 34a53e8049
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 36 additions and 7 deletions

View file

@ -459,11 +459,13 @@ proc testNimblePackages(r: var TResults; cat: Category; packageFilter: string) =
r.addResult(packageFileTest, targetC, "", "", reBuildFailed)
except JsonParsingError:
echo "[Warning] - Cannot run nimble tests: Invalid package file."
errors = 1
r.addResult(packageFileTest, targetC, "", "Invalid package file", reBuildFailed)
raise
except ValueError:
echo "[Warning] - $#" % getCurrentExceptionMsg()
errors = 1
r.addResult(packageFileTest, targetC, "", "Unknown package", reBuildFailed)
raise # bug #18805
finally:
if errors == 0: removeDir(packagesDir)