[PATCH] D40971: [debuginfo-tests] Support moving debuginfo-tests to llvm/projects

Don Hinton via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 7 10:57:36 PST 2017


hintonda created this revision.
Herald added subscribers: JDevlieghere, mgorny.

Add cmake and lit files needed to run these tests as an
external project.  Also, copy test_debuginfo.pl from llvm/utils since
it's only used here.  The copy in llvm/utils must be maintained as
long as bots continue to include debuginfo-tests in clang/test.

The name of lit.cfg.py was changed to lit.config.py so tests will
still run correctly clang/test -- otherwise it would be picked up by
lit automatically.

----

This is one of two independent patches designed to support moving the
debuginfo-test repo from clang/test to llvm/projects.  While each
patch is completely independent and can be applied seperately, both
are required to actually move the repo.

Due to the independent nature of these patches, debuginfo-test can
coexist in both clang/test and llvm/projects, so testers can add
debuginfo-test to llvm/projects without the need to immediately remove
it from clang/test..

Once both patches land and all buildbots have moved debuginfo-test to
llvm/projects, llvm/utils/test-debuginfo.pl can be removed as well the
tools reference to it in clang/test/lit.cfg.py.  At which point, only
llvm/projects will be supported.


https://reviews.llvm.org/D40971

Files:
  CMakeLists.txt
  lit.config.py
  lit.site.cfg.py.in
  test_debuginfo.pl

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D40971.125998.patch
Type: text/x-patch
Size: 6429 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171207/dd560644/attachment.bin>


More information about the llvm-commits mailing list