[LIT] Decode string result in lit.util.capture
authorEric Fiselier <eric@efcs.ca>
Mon, 12 Jan 2015 20:09:34 +0000 (20:09 +0000)
committerEric Fiselier <eric@efcs.ca>
Mon, 12 Jan 2015 20:09:34 +0000 (20:09 +0000)
commit2d88dc293bd5209ceb4ccb61a41d53a23cc09f20
treec2666bb5e9433bf49382506d96a7cfa827637853
parent6fc29015ff4dd822cc9840b5f7fa12455fe9fe08
[LIT] Decode string result in lit.util.capture

Summary: I think this is probably a bug, but I'm putting this up for review just to be sure. I think that `lit.util.capture` should decode the resulting string in the same way `lit.util.executeCommand` does.

Reviewers: ddunbar, EricWF

Reviewed By: EricWF

Subscribers: llvm-commits

Differential Revision: http://reviews.llvm.org/D6769

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@225681 91177308-0d34-0410-b5e6-96231b3b80d8
utils/lit/lit/util.py