Make tests/benchmarks/ more useable
Created by: joelagnel
Currently tests/benchmarks does stuff like automatically testing governor's etc. I don't see a point in enforcing this on the user (for example if a user wants to just run a workload and collect some traces). Also several conf related things are hard coded in the scripts. Instead the approach should be:
- provide command line options for test config option
- automate as much of the config detection as possible (example read serial number automatically if only one device connected) so config is minimal
- provide command line options for collect workload parameter (systrace, energy etc)
Could we just take out all the governor stuff frombenchmarks?
Also one more idea - any test specfic tuning can be done by the user subclassing the benchmark specific class and override hooks to run pre and post benchmark stuff and also wrap the base benchmarks' run method. So the class hierarchy if someone wants to hack in governor stuff should be: UibenchGovernor -> UiBenchmark -> LisaBenchmark
And the governor specific stuff can just live in another directory without disturbing the main use case. Thought?