Fix parsing of maximum residency in runstdtest
authorSebastian Graf <sebastian.graf@kit.edu>
Fri, 21 Dec 2018 13:24:11 +0000 (14:24 +0100)
committerSebastian Graf <sebastian.graf@kit.edu>
Fri, 21 Dec 2018 13:24:12 +0000 (14:24 +0100)
commitf3521319e2c5390e8076fd379ddeeea9d3e7ce12
tree65152e30763e30d4c8fdcaea947dd5d2064eca7e
parentf87d446b4e361cc82f219cf78917db9681af69b3
Fix parsing of maximum residency in runstdtest

Summary:
`runstdtest` switched from `-S` to `-s` output a while ago.
That broke parsing of maximum and average residency numbers.

This commit makes sure that at least maximum residency is parsed
correctly from `-s` output, while leaving the logic for `-S` output.

Reviewers: simonmar, bgamari, simonpj, osa1, AndreasK, O26 nofib

Reviewed By: bgamari

GHC Trac Issues: #16003

Differential Revision: https://phabricator.haskell.org/D5418
runstdtest/runstdtest.prl