[minor] don't find "Hint: gc" for action (#20170)
This commit is contained in:
parent
3bd935f331
commit
fd6640fcda
1 changed files with 2 additions and 4 deletions
|
|
@ -9,9 +9,7 @@ proc main() =
|
||||||
|
|
||||||
doAssert exitCode == 0, output
|
doAssert exitCode == 0, output
|
||||||
|
|
||||||
var start = rfind(output, "Hint: gc")
|
let start = rfind(output, "Hint: mm")
|
||||||
if start < 0:
|
|
||||||
start = rfind(output, "Hint: mm")
|
|
||||||
doAssert parseUntil(output, msg, "; proj", start) > 0, output
|
doAssert parseUntil(output, msg, "; proj", start) > 0, output
|
||||||
|
|
||||||
let (commitHash, _) = execCmdEx("""git log --format="%H" -n 1""")
|
let (commitHash, _) = execCmdEx("""git log --format="%H" -n 1""")
|
||||||
|
|
@ -25,4 +23,4 @@ The lines below are statistics of the Nim compiler built from {commitHash}
|
||||||
writeFile "ci/nimcache/results.txt", welcomeMessage
|
writeFile "ci/nimcache/results.txt", welcomeMessage
|
||||||
|
|
||||||
when isMainModule:
|
when isMainModule:
|
||||||
main()
|
main()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue