better approach to running gcj tests

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8310 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2006-01-08 22:53:07 +00:00
commit bed09b373e

View file

@ -44,6 +44,9 @@ skip-modula3 = test -n "@SKIP_MODULA3@"
skip-lua = test -n "@SKIP_LUA@"
skip-allegrocl = test -n "@SKIP_ALLEGROCL@"
# Additional dependencies for some tests
skip-gcj = test -n "@SKIP_GCJ@"
#####################################################################
# CHECK
#####################################################################
@ -102,9 +105,13 @@ check-%-examples:
else \
all=`sed '/^#/d' $$dir/check.list`; \
for a in $$all; do \
if $(skip-gcj) && test $$a = "java"; then \
echo "skipping $* $$dir/$$a $(ACTION) (gcj test)";\
else \
echo $(ACTION)ing $$dir/$$a; \
(cd $$dir/$$a && $(chk)) \
|| passed=false; \
fi; \
done; \
fi; \
test $$passed = true