]> git.ipfire.org Git - thirdparty/automake.git/commitdiff
tests defs: use `skip_' for skipping java-related tests
authorStefano Lattarini <stefano.lattarini@gmail.com>
Wed, 4 May 2011 19:56:25 +0000 (21:56 +0200)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Wed, 4 May 2011 19:58:53 +0000 (21:58 +0200)
* tests/defs.in (java, javac): Use `skip_' to signal test
skipping.

ChangeLog
tests/defs.in

index 3b50bf8ef116befdbef46812c7a5e9e9615c7bce..8328e05ef87f1e166d957330993e5261e2ba33a4 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2011-05-04  Stefano Lattarini  <stefano.lattarini@gmail.com>
+
+       tests defs: use `skip_' for skipping java-related tests
+       * tests/defs.in (java, javac): Use `skip_' to signal test
+       skipping.
+
 2011-05-04  Stefano Lattarini  <stefano.lattarini@gmail.com>
 
        tests defs: allow requirements for compilers (mostly dummy)
index f49eb03831455aabfcea53569bafa61002011880..1db84648332fe47681372af7fd748b4918890949 100644 (file)
@@ -229,12 +229,12 @@ do
       # telling that source files are missing.  Adding also the `-help'
       # option seems to solve the problem.
       echo "$me: running javac -version -help"
-      javac -version -help || exit 77
+      javac -version -help || skip_ "java compiler not found"
       ;;
     java)
       # See the comments above about `javac' for why we use also `-help'.
       echo "$me: running java -version -help"
-      java -version -help || exit 77
+      java -version -help || skip_ "java interpreter not found"
       ;;
     makedepend)
       echo "$me: running makedepend -f-"