From: <kli...@us...> - 2011-01-01 14:23:53
|
Revision: 12360 http://swig.svn.sourceforge.net/swig/?rev=12360&view=rev Author: klickverbot Date: 2011-01-01 14:23:47 +0000 (Sat, 01 Jan 2011) Log Message: ----------- [D] Not only build, but also run the examples for the 'check' target. Modified Paths: -------------- trunk/Examples/Makefile.in trunk/Examples/d/callback/Makefile trunk/Examples/d/class/Makefile trunk/Examples/d/constants/Makefile trunk/Examples/d/enum/Makefile trunk/Examples/d/extend/Makefile trunk/Examples/d/funcptr/Makefile trunk/Examples/d/simple/Makefile trunk/Examples/d/variables/Makefile Modified: trunk/Examples/Makefile.in =================================================================== --- trunk/Examples/Makefile.in 2010-12-30 17:37:48 UTC (rev 12359) +++ trunk/Examples/Makefile.in 2011-01-01 14:23:47 UTC (rev 12360) @@ -1264,6 +1264,13 @@ DFLAGS="" $(COMPILETOOL) $(DCOMPILER) $(DFLAGS) $(DSRCS) # ----------------------------------------------------------------- +# Run D example +# ----------------------------------------------------------------- + +d_run: + env LD_LIBRARY_PATH=.:$$LD_LIBRARY_PATH $(RUNTOOL) ./runme + +# ----------------------------------------------------------------- # Clean the D examples # ----------------------------------------------------------------- Modified: trunk/Examples/d/callback/Makefile =================================================================== --- trunk/Examples/d/callback/Makefile 2010-12-30 17:37:48 UTC (rev 12359) +++ trunk/Examples/d/callback/Makefile 2011-01-01 14:23:47 UTC (rev 12360) @@ -26,3 +26,5 @@ $(MAKE) -f $(TOP)/Makefile d_clean check: all + cd $(WORKING_DIR); \ + $(MAKE) -f $(TOP)/Makefile d_run Modified: trunk/Examples/d/class/Makefile =================================================================== --- trunk/Examples/d/class/Makefile 2010-12-30 17:37:48 UTC (rev 12359) +++ trunk/Examples/d/class/Makefile 2011-01-01 14:23:47 UTC (rev 12360) @@ -26,3 +26,5 @@ $(MAKE) -f $(TOP)/Makefile d_clean check: all + cd $(WORKING_DIR); \ + $(MAKE) -f $(TOP)/Makefile d_run Modified: trunk/Examples/d/constants/Makefile =================================================================== --- trunk/Examples/d/constants/Makefile 2010-12-30 17:37:48 UTC (rev 12359) +++ trunk/Examples/d/constants/Makefile 2011-01-01 14:23:47 UTC (rev 12360) @@ -26,3 +26,5 @@ $(MAKE) -f $(TOP)/Makefile d_clean check: all + cd $(WORKING_DIR); \ + $(MAKE) -f $(TOP)/Makefile d_run Modified: trunk/Examples/d/enum/Makefile =================================================================== --- trunk/Examples/d/enum/Makefile 2010-12-30 17:37:48 UTC (rev 12359) +++ trunk/Examples/d/enum/Makefile 2011-01-01 14:23:47 UTC (rev 12360) @@ -26,3 +26,5 @@ $(MAKE) -f $(TOP)/Makefile d_clean check: all + cd $(WORKING_DIR); \ + $(MAKE) -f $(TOP)/Makefile d_run Modified: trunk/Examples/d/extend/Makefile =================================================================== --- trunk/Examples/d/extend/Makefile 2010-12-30 17:37:48 UTC (rev 12359) +++ trunk/Examples/d/extend/Makefile 2011-01-01 14:23:47 UTC (rev 12360) @@ -26,3 +26,5 @@ $(MAKE) -f $(TOP)/Makefile d_clean check: all + cd $(WORKING_DIR); \ + $(MAKE) -f $(TOP)/Makefile d_run Modified: trunk/Examples/d/funcptr/Makefile =================================================================== --- trunk/Examples/d/funcptr/Makefile 2010-12-30 17:37:48 UTC (rev 12359) +++ trunk/Examples/d/funcptr/Makefile 2011-01-01 14:23:47 UTC (rev 12360) @@ -26,3 +26,5 @@ $(MAKE) -f $(TOP)/Makefile d_clean check: all + cd $(WORKING_DIR); \ + $(MAKE) -f $(TOP)/Makefile d_run Modified: trunk/Examples/d/simple/Makefile =================================================================== --- trunk/Examples/d/simple/Makefile 2010-12-30 17:37:48 UTC (rev 12359) +++ trunk/Examples/d/simple/Makefile 2011-01-01 14:23:47 UTC (rev 12360) @@ -26,3 +26,5 @@ $(MAKE) -f $(TOP)/Makefile d_clean check: all + cd $(WORKING_DIR); \ + $(MAKE) -f $(TOP)/Makefile d_run Modified: trunk/Examples/d/variables/Makefile =================================================================== --- trunk/Examples/d/variables/Makefile 2010-12-30 17:37:48 UTC (rev 12359) +++ trunk/Examples/d/variables/Makefile 2011-01-01 14:23:47 UTC (rev 12360) @@ -26,3 +26,5 @@ $(MAKE) -f $(TOP)/Makefile d_clean check: all + cd $(WORKING_DIR); \ + $(MAKE) -f $(TOP)/Makefile d_run This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |