This is an archive of the discontinued LLVM Phabricator instance.

LLVM Test-suite: LNT fixes for better Windows support
AbandonedPublic

Authored by iid_iunknown on Nov 17 2014, 11:04 AM.

Details

Reviewers
None
Summary

Problems solved:

  • when clang is executed by Python on Windows the compiler fails to accept /dev/null as its input file;
  • the logic of compiler name detection extended. LNT is able to detect if the compiler used is clang or not by comparing its name with the predefined values. Some toolchains can substitute the default clang name, e.g. "Apple clang". LNT already supports "Apple clang", the patch adds support for any "<Toolchain name> clang";
  • python fails to run the "configure" script on Windows. Before LNT ran it as "configure <arguments here>". "configure" is not recognized as a Win app. Now "configure" is an argument itself passed to /bin/sh;
  • if LNT is used to cross-build the suite for other target, "configure" requires --host with the target triple. It fails to complete if the triple is not provided.

Diff Detail

Event Timeline

iid_iunknown retitled this revision from to LLVM Test-suite: LNT fixes for better Windows support.
iid_iunknown updated this object.
iid_iunknown edited the test plan for this revision. (Show Details)
iid_iunknown set the repository for this revision to rL LLVM.
iid_iunknown set the repository for this revision to rL LLVM.
iid_iunknown added a subscriber: Unknown Object (MLST).
iid_iunknown abandoned this revision.Dec 28 2016, 5:48 AM