important_packages: allowed_failures batch (#17757)
* important_packages: reserve batch 0 for allowed failures * custom batch name: allowed_failures
This commit is contained in:
parent
fb02b56957
commit
68e7ed9c57
3 changed files with 27 additions and 12 deletions
|
|
@ -692,7 +692,7 @@ proc main() =
|
|||
quit Usage
|
||||
of "batch":
|
||||
testamentData0.batchArg = p.val
|
||||
if p.val != "_":
|
||||
if p.val != "_" and p.val.len > 0 and p.val[0] in {'0'..'9'}:
|
||||
let s = p.val.split("_")
|
||||
doAssert s.len == 2, $(p.val, s)
|
||||
testamentData0.testamentBatch = s[0].parseInt
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue