This is an archive of the discontinued LLVM Phabricator instance.

Fix running tests on macOS with python3
ClosedPublic

Authored by arichardson on Nov 14 2018, 4:48 AM.

Details

Summary

The result of subprocess.check_output() is bytes in python3 which we need
to convert to str(). Simplify this by using the executeCommand() helper.

Diff Detail

Repository
rL LLVM

Event Timeline

arichardson created this revision.Nov 14 2018, 4:48 AM
arichardson added inline comments.Nov 14 2018, 4:49 AM
utils/libcxx/test/target_info.py
133 ↗(On Diff #174015)

I will remove this debug statement before committing.

remove debug message

ldionne accepted this revision.Nov 14 2018, 5:40 AM
This revision is now accepted and ready to land.Nov 14 2018, 5:40 AM
This revision was automatically updated to reflect the committed changes.