From 670f9611e2a3f71e123c9c50bec72de3574702ea Mon Sep 17 00:00:00 2001 From: William S Fulton Date: Sun, 8 Jan 2006 22:53:07 +0000 Subject: [PATCH] better approach to running gcj tests git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8310 626c5289-ae23-0410-ae9c-e8d60b6d4f22 --- SWIG/Makefile.in | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/SWIG/Makefile.in b/SWIG/Makefile.in index 4e058e51e..6289bed8f 100644 --- a/SWIG/Makefile.in +++ b/SWIG/Makefile.in @@ -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