t/run-fio-tests: improve Windows support
authorVincent Fu <vincent.fu@wdc.com>
Tue, 10 Dec 2019 17:54:37 +0000 (12:54 -0500)
committerJens Axboe <axboe@kernel.dk>
Thu, 12 Dec 2019 03:55:07 +0000 (20:55 -0700)
commit742b8799be7e52451e481ec16e87603cf9f647bb
treef3ee35b3f9acf79f8ceed09ff8b53242f524a403
parentb1bc705e9f72aa206fa38e284ac0ef9283b136bc
t/run-fio-tests: improve Windows support

- add .exe extension for fio and unittest
- for python scripts use 'python.exe script.py' instead of ./script.py
- make JSON decoding more resilient by lopping off up to four of the
first lines when encountering decoding errors. This helps Windows
because for some jobs fio prints an informational message about
requiring threads

Signed-off-by: Jens Axboe <axboe@kernel.dk>
t/run-fio-tests.py