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-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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue