diff options
author | Fenghua Yu <[email protected]> | 2021-03-17 02:22:50 +0000 |
---|---|---|
committer | Shuah Khan <[email protected]> | 2021-04-02 13:58:14 -0600 |
commit | c9fb4e7cee1ebf38257c93f7f5c8915a1424611e (patch) | |
tree | 6628b093261c61426daf8a9f1b46f4ecb5708925 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 09a67934625a5941737c566b48e4e574ac4d1d99 (diff) |
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 <[email protected]>
Tested-by: Babu Moger <[email protected]>
Signed-off-by: Fenghua Yu <[email protected]>
Signed-off-by: Shuah Khan <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions