Summary: Moves lldbsuite tests to lldb/test/API.
This is a largely mechanical change, moved with the following steps:
```
rm lldb/test/API/testcases
mkdir -p lldb/test/API/{test_runner/test,tools/lldb-{server,vscode}}
mv lldb/packages/Python/lldbsuite/test/test_runner/test lldb/test/API/test_runner
for d in $(find lldb/packages/Python/lldbsuite/test/* -maxdepth 0 -type d | egrep -v "make|plugins|test_runner|tools"); do mv $d lldb/test/API; done
for d in $(find lldb/packages/Python/lldbsuite/test/tools/lldb-vscode -maxdepth 1 -mindepth 1 | grep -v ".py"); do mv $d lldb/test/API/tools/lldb-vscode; done
for d in $(find lldb/packages/Python/lldbsuite/test/tools/lldb-server -maxdepth 1 -mindepth 1 | egrep -v "gdbremote_testcase.py|lldbgdbserverutils.py|socket_packet_pump.py"); do mv $d lldb/test/API/tools/lldb-server; done
```
lldb/packages/Python/lldbsuite/__init__.py and lldb/test/API/lit.cfg.py were also updated with the new directory structure.
Reviewers: labath, JDevlieghere
Tags: #lldb
Differential Revision: https://reviews.llvm.org/D71151
33 lines
873 B
Makefile
33 lines
873 B
Makefile
LD_EXTRAS := -L. -lloadunload_d
|
|
CXX_SOURCES := main.cpp
|
|
USE_LIBDL := 1
|
|
|
|
a.out: lib_b lib_a lib_c lib_d hidden_lib_d
|
|
|
|
include Makefile.rules
|
|
|
|
lib_a: lib_b
|
|
$(MAKE) -f $(MAKEFILE_RULES) \
|
|
DYLIB_ONLY=YES DYLIB_CXX_SOURCES=a.cpp DYLIB_NAME=loadunload_a \
|
|
LD_EXTRAS="-L. -lloadunload_b"
|
|
|
|
lib_b:
|
|
$(MAKE) -f $(MAKEFILE_RULES) \
|
|
DYLIB_ONLY=YES DYLIB_CXX_SOURCES=b.cpp DYLIB_NAME=loadunload_b
|
|
|
|
lib_c:
|
|
$(MAKE) -f $(MAKEFILE_RULES) \
|
|
DYLIB_ONLY=YES DYLIB_CXX_SOURCES=c.cpp DYLIB_NAME=loadunload_c
|
|
|
|
lib_d:
|
|
$(MAKE) -f $(MAKEFILE_RULES) \
|
|
DYLIB_ONLY=YES DYLIB_CXX_SOURCES=d.cpp DYLIB_NAME=loadunload_d
|
|
ifeq ($(OS),Darwin)
|
|
install_name_tool -id @executable_path/libloadunload_d.dylib libloadunload_d.dylib
|
|
endif
|
|
|
|
hidden_lib_d:
|
|
mkdir -p hidden
|
|
$(MAKE) VPATH=$(SRCDIR)/hidden -C hidden -f $(MAKEFILE_RULES) \
|
|
DYLIB_ONLY=YES DYLIB_CXX_SOURCES=d.cpp DYLIB_NAME=loadunload_d
|