use NIM_TESTAMENT_BATCH for important_packages, improve formatting, code cleanups (#17301)
* use NIM_TESTAMENT_BATCH for important_packages, improve formatting, code cleanups * workaround for nimcrypto not having `--path:.`; remove workaround "two are special snowflakes" * add comment explaining why nimcrypto fails and what packages need to be testable
This commit is contained in:
parent
4f0bac791a
commit
c6f9c38892
6 changed files with 185 additions and 211 deletions
|
|
@ -76,6 +76,7 @@ type
|
|||
args: seq[string]
|
||||
spec: TSpec
|
||||
startTime: float
|
||||
debugInfo: string
|
||||
|
||||
# ----------------------------------------------------------------------------
|
||||
|
||||
|
|
@ -285,7 +286,7 @@ proc addResult(r: var TResults, test: TTest, target: TTarget,
|
|||
template disp(msg) =
|
||||
maybeStyledEcho styleDim, fgYellow, msg & ' ', styleBright, fgCyan, name
|
||||
if success == reSuccess:
|
||||
maybeStyledEcho fgGreen, "PASS: ", fgCyan, alignLeft(name, 60), fgBlue, " (", durationStr, " sec)"
|
||||
maybeStyledEcho fgGreen, "PASS: ", fgCyan, test.debugInfo, alignLeft(name, 60), fgBlue, " (", durationStr, " sec)"
|
||||
elif success == reDisabled:
|
||||
if test.spec.inCurrentBatch: disp("SKIP:")
|
||||
else: disp("NOTINBATCH:")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue