~vcs-imports/libtool/main

« back to all changes in this revision

Viewing changes to tests/convenience.at

  • Committer: pogma
  • Date: 2008-03-07 08:07:49 UTC
  • Revision ID: vcs-imports@canonical.com-20080307080749-29msihqqdzn6slk5
* tests/convenience.at (Java convenience archives): Skip test if
gcj cannot compile a working executable from .java files.
Report by Nelson H. F. Beebe.

Show diffs side-by-side

added added

removed removed

Lines of Context:
262
262
  # There are just too many broken gcj installations out there, either missing
263
263
  # libgcj.spec or unable to find it.  Skip this test for them.
264
264
  if test $i -eq 1; then
265
 
    AT_CHECK[($GCJ $GCJFLAGS -c foo1.java || exit 77], [], [ignore], [ignore])
266
 
    rm -f foo1.o foo1.obj
 
265
    AT_CHECK([$GCJ $GCJFLAGS -c foo1.java || exit 77], [], [ignore], [ignore])
 
266
    AT_CHECK([$GCJ $GCJFLAGS --main=foo1 -o foo1 foo1.java A1.java || exit 77],[],[ignore],[ignore])
 
267
    AT_CHECK([./foo1$EXEEXT || exit 77],[],[ignore],[ignore])
 
268
    rm -f foo1.o foo1.obj foo1$EXEEXT
267
269
  fi
268
270
 
269
271
  $LIBTOOL --tag=GCJ --mode=compile $GCJ $GCJFLAGS -c foo$i.java