mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-04-17 05:40:48 +00:00

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
34 lines
1.0 KiB
Makefile
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))
|