This is an archive of the discontinued LLVM Phabricator instance.

[dexter] Fix feature tests on Windows
ClosedPublic

Authored by rnk on Nov 1 2019, 11:51 AM.

Details

Summary

First, add LLD as a dependency on Windows. The windows batch scripts
pass -fuse-ld=lld, so they need it.

Second, decode builder stdout/stderr even if the command fails.
Otherwise it gets printed as b'line 1\n\rline 2\n\r'.

Last, make the batch script one line less noisy. We might want to try to
do more here, though. It would be nice if we could get as close to
possible as lit, where you can literally copy & paste the failing
command to re-run it.

With the two changes above, now the feature tests that use clang++.bat
pass for me. The clang-cl_vs2015 ones still fail, and I'll fix them
separately.

Event Timeline

rnk created this revision.Nov 1 2019, 11:51 AM
Herald added a project: Restricted Project. · View Herald TranscriptNov 1 2019, 11:51 AM
Herald added a subscriber: mgorny. · View Herald Transcript
jmorse accepted this revision.Nov 4 2019, 1:23 AM

LGTM

This revision is now accepted and ready to land.Nov 4 2019, 1:23 AM
This revision was automatically updated to reflect the committed changes.