testsuite: Don't use git status to determine whether we are inside a repo
authorBen Gamari <ben@smart-cactus.org>
Sat, 1 Dec 2018 14:28:57 +0000 (09:28 -0500)
committerBen Gamari <ben@smart-cactus.org>
Sat, 1 Dec 2018 14:28:57 +0000 (09:28 -0500)
commit3b075e1a96564f29130540d933d07840c59a0feb
treeedbb06b6ccbac2f5e876e36ce6f1d0f808dd0954
parentcd793325e3e71cee761df35df0934999f7d77ad7
testsuite: Don't use git status to determine whether we are inside a repo

Git status is extremely expensive for this task. We instead use `git rev-parse
HEAD` and throw away the output to ensure we don't spam the user.
testsuite/driver/perf_notes.py
testsuite/driver/runtests.py