octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Failing Java tests due to no JRE


From: Rik
Subject: Failing Java tests due to no JRE
Date: Wed, 14 Sep 2016 14:59:59 -0700

9/14/16

I'm testing the 4.2.0-rc1 candidate on a Windows XP virtual machine which
does not have Java installed.  When using __run_test_suite__ all of the
Java tests fail (Duh!).  The issue is that all of the tests begin with

%!testif HAVE_JAVA

Certainly, when Octave was cross-compiled with MXE Java was available, but
now at runtime there is no Java environment.  Should all of these tests
begin with

%!testif HAVE_JAVA
%! if (! usejava ("jvm"))
%!   return;

so that if no JVM is available at run time they are not executed?

--Rik




reply via email to

[Prev in Thread] Current Thread [Next in Thread]