diff options
author | Fenghua Yu <fenghua.yu@intel.com> | 2021-03-17 05:22:50 +0300 |
---|---|---|
committer | Shuah Khan <skhan@linuxfoundation.org> | 2021-04-02 22:58:14 +0300 |
commit | c9fb4e7cee1ebf38257c93f7f5c8915a1424611e (patch) | |
tree | 6628b093261c61426daf8a9f1b46f4ecb5708925 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 09a67934625a5941737c566b48e4e574ac4d1d99 (diff) | |
download | linux-c9fb4e7cee1ebf38257c93f7f5c8915a1424611e.tar.xz |
selftests/resctrl: Modularize resctrl test suite main() function
Resctrl test suite main() function does the following things
1. Parses command line arguments passed by user
2. Some setup checks
3. Logic that calls into each unit test
4. Print result and clean up after running each unit test
Introduce wrapper functions for steps 3 and 4 to modularize the main()
function. Adding these wrapper functions makes it easier to add any logic
to each individual test.
Please note that this is a preparatory patch for the next one and no
functional changes are intended.
Suggested-by: Reinette Chatre <reinette.chatre@intel.com>
Tested-by: Babu Moger <babu.moger@amd.com>
Signed-off-by: Fenghua Yu <fenghua.yu@intel.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions