Vince Harron | e72b71f | 2015-03-13 22:33:42 +0000 | [diff] [blame] | 1 | LLDB_LEVEL := .. |
| 2 | include $(LLDB_LEVEL)/Makefile |
Peter Collingbourne | b0589f1 | 2011-06-20 19:06:51 +0000 | [diff] [blame] | 3 | |
Vince Harron | e72b71f | 2015-03-13 22:33:42 +0000 | [diff] [blame] | 4 | .PHONY: programs |
Peter Collingbourne | b0589f1 | 2011-06-20 19:06:51 +0000 | [diff] [blame] | 5 | |
Vince Harron | e72b71f | 2015-03-13 22:33:42 +0000 | [diff] [blame] | 6 | all:: check-local |
Chris Lattner | 30fdc8d | 2010-06-08 16:52:24 +0000 | [diff] [blame] | 7 | |
Vince Harron | e72b71f | 2015-03-13 22:33:42 +0000 | [diff] [blame] | 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 \; |
Chris Lattner | 30fdc8d | 2010-06-08 16:52:24 +0000 | [diff] [blame] | 17 | |
Vince Harron | e72b71f | 2015-03-13 22:33:42 +0000 | [diff] [blame] | 18 | #---------------------------------------------------------------------- |
| 19 | # Clean all of the test programs |
| 20 | #---------------------------------------------------------------------- |
Peter Collingbourne | b0589f1 | 2011-06-20 19:06:51 +0000 | [diff] [blame] | 21 | clean:: |
Vince Harron | e72b71f | 2015-03-13 22:33:42 +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 | b0589f1 | 2011-06-20 19:06:51 +0000 | [diff] [blame] | 27 | |
Vince Harron | e72b71f | 2015-03-13 22:33:42 +0000 | [diff] [blame] | 28 | #---------------------------------------------------------------------- |
| 29 | # Run the tests |
| 30 | #---------------------------------------------------------------------- |
| 31 | check-local:: |
| 32 | rm -rf lldb-test-traces |
Todd Fiala | fed9566 | 2015-09-03 18:58:44 +0000 | [diff] [blame] | 33 | python $(PROJ_SRC_DIR)/dotest.py --executable $(ToolDir)/lldb -q -s lldb-test-traces -u CXXFLAGS -u CFLAGS -C $(subst ccache,,$(CC)) |