[Lldb-commits] [PATCH] D66966: [test] Fix various module cache bugs and inconsistencies
Jonas Devlieghere via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Thu Aug 29 11:24:43 PDT 2019
JDevlieghere created this revision.
JDevlieghere added reviewers: aprantl, davide, friss.
Herald added subscribers: teemperor, abidh, mgorny.
Herald added a project: LLDB.
Currently, lit tests don't set neither the module cache for building inferiors nor the module cache used by lldb when running tests. Furthermore, we have several places where we rely on the path to the module cache being always the same, rather than passing the correct value around. This makes it hard to specify a different module cache path when debugging a a test.
This patch reworks how we determine and pass around the module cache paths and fixes the omission on the lit side.
Repository:
rLLDB LLDB
https://reviews.llvm.org/D66966
Files:
lldb/CMakeLists.txt
lldb/lit/CMakeLists.txt
lldb/lit/Settings/TestModuleCacheSanity.test
lldb/lit/Suite/lit.cfg
lldb/lit/helper/toolchain.py
lldb/lit/lit-lldb-init.in
lldb/lit/lit.cfg.py
lldb/lit/lit.site.cfg.py.in
lldb/packages/Python/lldbsuite/test/configuration.py
lldb/packages/Python/lldbsuite/test/dotest.py
lldb/packages/Python/lldbsuite/test/dotest_args.py
lldb/packages/Python/lldbsuite/test/lldbtest.py
lldb/packages/Python/lldbsuite/test/sanity/TestModuleCacheSanity.py
lldb/test/CMakeLists.txt
lldb/utils/lldb-dotest/lldb-dotest.in
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D66966.217944.patch
Type: text/x-patch
Size: 12574 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20190829/ad45c0f9/attachment.bin>
More information about the lldb-commits
mailing list