Change litsupport/remote code to not assume a shared filesystem anymore:
- Assumes we can run commands on the remote target and get output/returncodes back (typically ssh)
- Expects the benchmark build directory was transfered to the remove device via other means (typically rsync) before running.
Note: This whole remote support is only relevant for apples internal usage.
At least I'm not aware of anyone else using the remote litsupport module.
I am putting this up for early review feedback. In practice we cannot
commit this yet, as lnt isn't prepared to rsync things to the device
before running (for this I actually plan to get back to other patches
of mine that allow to submit to LNT without actually running the benchmarks
via LNT itself).
Did you consider keeping getUserTime with filename argument and extract-out the parsing step into a new function which can be called instead if there is not filename? There seems to be a bit of boilerplate added for every time the content is just a file (for collecting compile times).