diff options
author | Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com> | 2018-07-13 10:45:40 -0500 |
---|---|---|
committer | Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com> | 2018-07-19 14:53:37 -0500 |
commit | 1cf4ae7fe644f5ad37ca82cb432147daf5c8ad77 (patch) | |
tree | 550b9b30af93be6a87402649a961bb44d80bd453 /benchtests/sqrt-inputs | |
parent | e84bd8514cd4bf37b37d3f68feafc1e20afa4b56 (diff) | |
download | glibc-1cf4ae7fe644f5ad37ca82cb432147daf5c8ad77.tar.gz glibc-1cf4ae7fe644f5ad37ca82cb432147daf5c8ad77.tar.xz glibc-1cf4ae7fe644f5ad37ca82cb432147daf5c8ad77.zip |
benchtests: improve argument parsing through argparse library
The argparse library is used on compare_bench script to improve command line argument parsing. The 'schema validation file' is now optional, reducing by one the number of required parameters. * benchtests/scripts/compare_bench.py (__main__): use the argparse library to improve command line parsing. (__main__): make schema file as optional parameter (--schema), defaulting to benchtests/scripts/benchout.schema.json. (main): move out of the parsing stuff to __main_ and leave it only as caller of main comparison functions.
Diffstat (limited to 'benchtests/sqrt-inputs')
0 files changed, 0 insertions, 0 deletions