aboutsummaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorWilliam S Fulton <wsf@fultondesigns.co.uk>2006-01-12 21:13:54 +0000
committerWilliam S Fulton <wsf@fultondesigns.co.uk>2006-01-12 21:13:54 +0000
commitf52cf1c9304a331a0aaad61500bdd735f994a550 (patch)
tree264602afbf2b4c42eff1ed4ec30b103be163b706 /Makefile.in
parent4b38b9da56844dc96cc59c187bede37a38df62d8 (diff)
downloadswig-f52cf1c9304a331a0aaad61500bdd735f994a550.tar.gz
Clearer comments on what the test-suite targets do
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8396 626c5289-ae23-0410-ae9c-e8d60b6d4f22
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in75
1 files changed, 35 insertions, 40 deletions
diff --git a/Makefile.in b/Makefile.in
index 6289bed8f..ff5d1ffda 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -78,6 +78,7 @@ check-aliveness:
@$(skip-modula3) || ./$(TARGET) -modula3 -help
@$(skip-lua) || ./$(TARGET) -lua -help
+# Checks examples for compilation (does not run them)
check-examples: \
check-tcl-examples \
check-perl5-examples \
@@ -116,38 +117,6 @@ check-%-examples:
fi; \
test $$passed = true
-# Checks testcases in the test-suite excluding those which are known to be broken
-check-test-suite: \
- check-tcl-test-suite \
- check-perl5-test-suite \
- check-python-test-suite \
- check-java-test-suite \
- check-guilescm-test-suite \
- check-guile-test-suite \
- check-mzscheme-test-suite \
- check-ruby-test-suite \
- check-ocaml-test-suite \
- check-php4-test-suite \
- check-pike-test-suite \
- check-csharp-test-suite \
- check-modula3-test-suite \
- check-lua-test-suite \
- check-allegrocl-test-suite \
-# check-chicken-test-suite
-
-check-%-test-suite:
- @passed=true; \
- dir="Examples/test-suite/$*"; \
- if $(skip-$*); then \
- echo skipping $* test-suite $(ACTION); \
- elif [ ! -d $$dir ]; then \
- echo warning: cannot $(ACTION) $* test-suite "(no dir $$dir)";\
- else \
- (cd $$dir && $(MAKE) -k -s $(ACTION)) \
- || passed=false; \
- fi; \
- test $$passed = true
-
gifplot-library:
@echo $(ACTION)ing Examples/GIFPlot/Lib
@cd Examples/GIFPlot/Lib && $(MAKE) -k -s $(ACTION)
@@ -186,12 +155,41 @@ check-%-gifplot: gifplot-library
fi; \
test $$passed = true
-check: check-aliveness check-examples check-gifplot check-test-suite
+# Checks testcases in the test-suite excluding those which are known to be broken
+check-test-suite: \
+ check-tcl-test-suite \
+ check-perl5-test-suite \
+ check-python-test-suite \
+ check-java-test-suite \
+ check-guilescm-test-suite \
+ check-guile-test-suite \
+ check-mzscheme-test-suite \
+ check-ruby-test-suite \
+ check-ocaml-test-suite \
+ check-php4-test-suite \
+ check-pike-test-suite \
+ check-csharp-test-suite \
+ check-modula3-test-suite \
+ check-lua-test-suite \
+ check-allegrocl-test-suite \
+# check-chicken-test-suite
-#####################################################################
-# ALL TEST SUITE: Known broken and broken testcases in the test-suite
-#####################################################################
+check-%-test-suite:
+ @passed=true; \
+ dir="Examples/test-suite/$*"; \
+ if $(skip-$*); then \
+ echo skipping $* test-suite $(ACTION); \
+ elif [ ! -d $$dir ]; then \
+ echo warning: cannot $(ACTION) $* test-suite "(no dir $$dir)";\
+ else \
+ (cd $$dir && $(MAKE) -k -s $(ACTION)) \
+ || passed=false; \
+ fi; \
+ test $$passed = true
+
+check: check-aliveness check-examples check-gifplot check-test-suite
+# Run known-to-be-broken as well as not broken testcases in the test-suite
all-test-suite: \
all-tcl-test-suite \
all-perl5-test-suite \
@@ -213,10 +211,7 @@ all-test-suite: \
all-%-test-suite:
@$(MAKE) -k -s check-$*-test-suite ACTION=all
-#####################################################################
-# BROKEN: Known broken tests in the test-suite
-#####################################################################
-
+# Run known-to-be-broken testcases in the test-suite
broken-test-suite: \
broken-tcl-test-suite \
broken-perl5-test-suite \