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:
parent
9ba22b45c0
commit
bed09b373e
1 changed files with 7 additions and 0 deletions
|
|
@ -44,6 +44,9 @@ skip-modula3 = test -n "@SKIP_MODULA3@"
|
||||||
skip-lua = test -n "@SKIP_LUA@"
|
skip-lua = test -n "@SKIP_LUA@"
|
||||||
skip-allegrocl = test -n "@SKIP_ALLEGROCL@"
|
skip-allegrocl = test -n "@SKIP_ALLEGROCL@"
|
||||||
|
|
||||||
|
# Additional dependencies for some tests
|
||||||
|
skip-gcj = test -n "@SKIP_GCJ@"
|
||||||
|
|
||||||
#####################################################################
|
#####################################################################
|
||||||
# CHECK
|
# CHECK
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
@ -102,9 +105,13 @@ check-%-examples:
|
||||||
else \
|
else \
|
||||||
all=`sed '/^#/d' $$dir/check.list`; \
|
all=`sed '/^#/d' $$dir/check.list`; \
|
||||||
for a in $$all; do \
|
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; \
|
echo $(ACTION)ing $$dir/$$a; \
|
||||||
(cd $$dir/$$a && $(chk)) \
|
(cd $$dir/$$a && $(chk)) \
|
||||||
|| passed=false; \
|
|| passed=false; \
|
||||||
|
fi; \
|
||||||
done; \
|
done; \
|
||||||
fi; \
|
fi; \
|
||||||
test $$passed = true
|
test $$passed = true
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue