Peter Collingbourne | ac72015 | 2011-06-20 19:06:51 +0000 | [diff] [blame] | 1 | LLDB_LEVEL := .. |
| 2 | include $(LLDB_LEVEL)/Makefile |
| 3 | |
| 4 | .PHONY: programs |
| 5 | |
| 6 | all:: check-local |
Chris Lattner | 24943d2 | 2010-06-08 16:52:24 +0000 | [diff] [blame] | 7 | |
| 8 | #---------------------------------------------------------------------- |
| 9 | # Make all of the test programs |
| 10 | #---------------------------------------------------------------------- |
Peter Collingbourne | ac72015 | 2011-06-20 19:06:51 +0000 | [diff] [blame] | 11 | programs: |
Chris Lattner | 24943d2 | 2010-06-08 16:52:24 +0000 | [diff] [blame] | 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 | #---------------------------------------------------------------------- |
Peter Collingbourne | ac72015 | 2011-06-20 19:06:51 +0000 | [diff] [blame] | 19 | # Clean all of the test programs |
Chris Lattner | 24943d2 | 2010-06-08 16:52:24 +0000 | [diff] [blame] | 20 | #---------------------------------------------------------------------- |
Peter Collingbourne | ac72015 | 2011-06-20 19:06:51 +0000 | [diff] [blame] | 21 | clean:: |
Chris Lattner | 24943d2 | 2010-06-08 16:52:24 +0000 | [diff] [blame] | 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 \; |
Peter Collingbourne | ac72015 | 2011-06-20 19:06:51 +0000 | [diff] [blame] | 27 | |
| 28 | #---------------------------------------------------------------------- |
| 29 | # Run the tests |
| 30 | #---------------------------------------------------------------------- |
| 31 | check-local:: |
Daniel Malea | 361eb43 | 2013-02-15 21:31:37 +0000 | [diff] [blame] | 32 | rm -rf lldb-test-traces |
Daniel Malea | f1bc35d | 2013-05-13 21:41:35 +0000 | [diff] [blame] | 33 | python $(PROJ_SRC_DIR)/dosep.ty -o "--executable $(ToolDir)/lldb -q -s lldb-test-traces -u CXXFLAGS -u CFLAGS -C $(subst ccache,,$(CC))" |