[PATCH] D29030: [LNT] Add cross-compilation support to 'lnt runtest test-suite'

Kristof Beyls via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 15 05:57:05 PST 2017


kristof.beyls updated this revision to Diff 88516.
kristof.beyls added a comment.
Herald added a subscriber: mgorny.

Thanks for all the feedback and the interesting discussion!
I've adapted the patch accordingly, going for using cmake features more directly rather than adding ever more lnt runtest command line options.
I've also added documentation that should help with using 'lnt runtest test-suite' in a cross-compiling setup.

The main functional changes are:

- Making sure the correct target is picked up for the report.json.
- --cc is no longer a required command line option.
- Documentation is written to explain how to best perform test-suite runs in a cross-compile set up.


https://reviews.llvm.org/D29030

Files:
  docs/tests.rst
  lnt/tests/test_suite.py
  tests/SharedInputs/FakeCompilers/fakecompiler.py
  tests/runtest/Inputs/test-suite-cmake/fake-cmake
  tests/runtest/test_suite.py

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D29030.88516.patch
Type: text/x-patch
Size: 14825 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170215/66670c0f/attachment.bin>


More information about the llvm-commits mailing list