]> granicus.if.org Git - llvm/commit
[utils] Fix update scripts output when run on python3.
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Wed, 30 Jan 2019 16:15:59 +0000 (16:15 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Wed, 30 Jan 2019 16:15:59 +0000 (16:15 +0000)
commitb739c0c2b781a0b63297e9204d8de4e266d1b5ca
tree7bbad4aeecfa9716f1c708e14e2246604f4b877b
parent91921e0980dbccecb26ffc66e795d2ddcba82dbd
[utils] Fix update scripts output when run on python3.

This fixes a "bytes-like object is required, not 'str'" python3 error I hit on update_llc_test_checks.py (but present on the other scripts as well) by matching what update_mca_test_checks.py already does, plus I've added an explicit 'utf-8' encoding.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@352633 91177308-0d34-0410-b5e6-96231b3b80d8
utils/update_analyze_test_checks.py
utils/update_llc_test_checks.py
utils/update_mca_test_checks.py
utils/update_test_checks.py