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
|
|
@ -230,7 +230,7 @@ proc addLine*(self: var string; a, b: string) =
|
|||
proc initSpec*(filename: string): TSpec =
|
||||
result.file = filename
|
||||
|
||||
proc isCurrentBatch(testamentData: TestamentData; filename: string): bool =
|
||||
proc isCurrentBatch*(testamentData: TestamentData; filename: string): bool =
|
||||
if testamentData.testamentNumBatch != 0:
|
||||
hash(filename) mod testamentData.testamentNumBatch == testamentData.testamentBatch
|
||||
else:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue