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: mmuetzel
Subject: Re: Second 4.4.1 release candidate available for download
Date: Wed, 1 Aug 2018 09:14:13 -0500 (CDT)

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?

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>

Not sure what happens there...

Markus





--
Sent from: http://octave.1599824.n4.nabble.com/Octave-Maintainers-f1638794.html



reply via email to

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