Zachary Turner c432c8f856 Move lldb/test to lldb/packages/Python/lldbsuite/test.
This is the conclusion of an effort to get LLDB's Python code
structured into a bona-fide Python package.  This has a number
of benefits, but most notably the ability to more easily share
Python code between different but related pieces of LLDB's Python
infrastructure (for example, `scripts` can now share code with
`test`).

llvm-svn: 251532
2015-10-28 17:43:26 +00:00

34 lines
1.0 KiB
Makefile

LLDB_LEVEL := ..
include $(LLDB_LEVEL)/Makefile
.PHONY: programs
all:: check-local
#----------------------------------------------------------------------
# Make all of the test programs
#----------------------------------------------------------------------
programs:
find . -type d -depth 1 | xargs -J % find % \
-name Makefile \
-exec echo \; \
-exec echo make -f '{}' \; \
-execdir make \;
#----------------------------------------------------------------------
# Clean all of the test programs
#----------------------------------------------------------------------
clean::
find . -type d -depth 1 | xargs -J % find % \
-name Makefile \
-exec echo \; \
-exec echo make -f '{}' clean \; \
-execdir make clean \;
#----------------------------------------------------------------------
# Run the tests
#----------------------------------------------------------------------
check-local::
rm -rf lldb-test-traces
python $(PROJ_SRC_DIR)/dotest.py --executable $(ToolDir)/lldb -q -s lldb-test-traces -u CXXFLAGS -u CFLAGS -C $(subst ccache,,$(CC))