octave-maintainers
[Top][All Lists]
Advanced

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

Re: Second 4.4.1 release candidate available for download


From: Rik
Subject: Re: Second 4.4.1 release candidate available for download
Date: Wed, 1 Aug 2018 09:17:30 -0700

On 08/01/2018 09:00 AM, address@hidden wrote:
Subject:
Re: Second 4.4.1 release candidate available for download
From:
mmuetzel <address@hidden>
Date:
08/01/2018 07:14 AM
To:
address@hidden
List-Post:
<mailto:address@hidden>
Content-Transfer-Encoding:
7bit
Precedence:
list
MIME-Version:
1.0
References:
<address@hidden>
In-Reply-To:
<address@hidden>
Message-ID:
<address@hidden>
Content-Type:
text/plain; charset=us-ascii
Message:
4

I ran the test suite on Windows 10 1803 and got two unexpected errors:

1:
processing
C:\Octave\OCTAVE~1.1-R\share\octave\4.4.1-rc2\m\miscellaneous\run.m
***** test
 clear A  # the variable "A" should be set by the script
 assert (exist ("A"), 0);
 tmp_dir = tempname ();
 test_script = fullfile (tmp_dir, "test_script.m");
 unwind_protect
   mkdir (tmp_dir);
   fid = fopen (test_script, "w");
   fprintf (fid, "A = 1337;\n");
   fclose (fid);
   run (test_script);
   assert (exist ("A", "var"), 1);
   assert (A, 1337);
 unwind_protect_cleanup
   unlink (test_script);
   rmdir (tmp_dir);
 end_unwind_protect
!!!!! test failed
ASSERT errors for:  assert (exist ("A"),0)

  Location  |  Observed  |  Expected  |  Reason
     ()           7            0         Abs err 7 exceeds tol 0 by 7

That one is because there happened to be a folder named "a" in Octave's
current directory. Maybe we could change the test to use a more random
variable name?
Sounds simple enough.  Can you make a cset to change this to an obscure variable name that starts with '__' to also indicate that this is an internal variable.


2:
processing
C:\Octave\OCTAVE~1.1-R\share\octave\4.4.1-rc2\m\ode\ode15i.m
***** testif HAVE_SUNDIALS
 saved_opts = warning ();
 warning ("off", "all");
 opt = odeset ("Jacobian", "foo");
 fail ("[t, y] = ode15i (@rob, [0, 4e6], [1; 0; 0], [-1e-4; 1e-4; 0], opt)",
       "invalid value assigned to field 'Jacobian'");
 warning (saved_opts);
!!!!! test failed
expected error <invalid value assigned to field 'Jacobian'>
but got <nargin: number of input arguments unavailable for user-defined
script objects>
Any chance you have a function 'foo' defined somehow?

--Rik

reply via email to

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