[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Failing Java tests due to no JRE
From: |
Mike Miller |
Subject: |
Re: Failing Java tests due to no JRE |
Date: |
Thu, 15 Sep 2016 08:12:28 -0700 |
User-agent: |
NeoMutt/ (1.7.0) |
On Wed, Sep 14, 2016 at 14:59:59 -0700, Rik wrote:
> 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?
Yes I think that's a good idea. It's also possible to run Octave on any
GNU or Unix system with no JRE installed and the same test failure would
happen there.
--
mike