benchtests: Set float type on --threshold argument
commitc892ae04f47908479220247a311bc0067229b592
authorLeonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Thu, 4 Oct 2018 21:40:36 +0000 (4 16:40 -0500)
committerLeonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Mon, 8 Oct 2018 14:11:30 +0000 (8 09:11 -0500)
treee54a96320445e9630e1ed0ea8c23cefd217bb584
parenta68ec8eac27ba5bed195bf574fdc0f391cde6fbf
benchtests: Set float type on --threshold argument

Otherwise, we see the following runtime error when using the parameter:

  File "./glibc/benchtests/scripts/compare_bench.py", line 46, in do_compare
    if d > threshold:
TypeError: '>' not supported between instances of 'float' and 'str'

* benchtests/scripts/compare_bench.py (main): set float type on
threshold argument.
ChangeLog
benchtests/scripts/compare_bench.py