Home | History | Annotate | Download | only in test
      1 LLDB_LEVEL := ..
      2 include $(LLDB_LEVEL)/Makefile
      3 
      4 .PHONY: programs
      5 
      6 all:: check-local
      7 
      8 #----------------------------------------------------------------------
      9 # Make all of the test programs
     10 #----------------------------------------------------------------------
     11 programs:
     12 	find . -type d -depth 1 | xargs -J % find % \
     13 		-name Makefile \
     14 		-exec echo \; \
     15 		-exec echo make -f '{}' \; \
     16 		-execdir make \;
     17 
     18 #----------------------------------------------------------------------
     19 # Clean all of the test programs
     20 #----------------------------------------------------------------------
     21 clean::
     22 	find . -type d -depth 1 | xargs -J % find % \
     23 		-name Makefile \
     24 		-exec echo \; \
     25 		-exec echo make -f '{}' clean \; \
     26 		-execdir make clean \;
     27 
     28 #----------------------------------------------------------------------
     29 # Run the tests
     30 #----------------------------------------------------------------------
     31 check-local::
     32 	rm -rf lldb-test-traces
     33 	python $(PROJ_SRC_DIR)/dosep.ty -o "--executable $(ToolDir)/lldb -q -s lldb-test-traces -u CXXFLAGS -u CFLAGS -C $(subst ccache,,$(CC))"
     34