[PATCH] D39605: [debuginfo-tests] Decouple debuginfo-tests from the clang source tree.

Zachary Turner via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 3 10:20:08 PDT 2017


zturner created this revision.
Herald added a subscriber: mgorny.
Herald added a reviewer: modocache.

This is necessary in preparation for future work to debuginfo-tests that makes debuginfo-tests optionally able to make use of lld (if present).

The workflow now is:

1. In a mono-repo, just set `-DLLVM_ENABLE_PROJECTS=debuginfo-tests` on CMake and it will work.  You can run `ninja check-debuginfo`.

2. In a multi-repo, clone `debuginfo-tests` into `llvm/projects`, and you can then run `ninja check-debuginfo`.

Everything else is unchanged.  The previous workflow of cloning `debuginfo-tests` into the clang source tree and running it as part of `check-clang` is no longer supported.  It now alawys has its own target, `check-debuginfo`.


https://reviews.llvm.org/D39605

Files:
  clang/test/lit.cfg.py
  debuginfo-tests/CMakeLists.txt
  debuginfo-tests/aggregate-indirect-arg.cpp
  debuginfo-tests/asan-blocks.c
  debuginfo-tests/asan.c
  debuginfo-tests/block_var.m
  debuginfo-tests/blocks.m
  debuginfo-tests/ctor.cpp
  debuginfo-tests/dbg-arg.c
  debuginfo-tests/foreach.m
  debuginfo-tests/forward-declare-class.cpp
  debuginfo-tests/lit.cfg.py
  debuginfo-tests/lit.local.cfg
  debuginfo-tests/lit.site.cfg.py.in
  debuginfo-tests/llgdb.py
  debuginfo-tests/nested-struct.cpp
  debuginfo-tests/nrvo-string.cpp
  debuginfo-tests/safestack.c
  debuginfo-tests/sret.cpp
  debuginfo-tests/stack-var.c
  debuginfo-tests/static-member-2.cpp
  debuginfo-tests/static-member.cpp
  debuginfo-tests/tests/aggregate-indirect-arg.cpp
  debuginfo-tests/tests/asan-blocks.c
  debuginfo-tests/tests/asan.c
  debuginfo-tests/tests/block_var.m
  debuginfo-tests/tests/blocks.m
  debuginfo-tests/tests/ctor.cpp
  debuginfo-tests/tests/dbg-arg.c
  debuginfo-tests/tests/foreach.m
  debuginfo-tests/tests/forward-declare-class.cpp
  debuginfo-tests/tests/lit.local.cfg
  debuginfo-tests/tests/llgdb.py
  debuginfo-tests/tests/nested-struct.cpp
  debuginfo-tests/tests/nrvo-string.cpp
  debuginfo-tests/tests/safestack.c
  debuginfo-tests/tests/sret.cpp
  debuginfo-tests/tests/stack-var.c
  debuginfo-tests/tests/static-member-2.cpp
  debuginfo-tests/tests/static-member.cpp
  debuginfo-tests/tests/vla.c
  debuginfo-tests/vla.c
  llvm/CMakeLists.txt
  llvm/projects/CMakeLists.txt
  llvm/utils/lit/lit/llvm/config.py

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D39605.121507.patch
Type: text/x-patch
Size: 12422 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171103/a15acfeb/attachment.bin>


More information about the llvm-commits mailing list