octave-maintainers
[Top][All Lists]
Advanced

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

Re: Octave 3.8.1-rc3 release candidate available for ftp - test failures


From: Philip Nienhuis
Subject: Re: Octave 3.8.1-rc3 release candidate available for ftp - test failures
Date: Fri, 21 Feb 2014 01:07:44 -0800 (PST)

John Donoghue-2 wrote
> Message: 6
> Date: Thu, 20 Feb 2014 14:49:51 -0800 (PST)
> From: Philip Nienhuis <

> address@hidden

> >
> To: 

> octave-maintainers@

> Subject: Re: Octave 3.8.1-rc3 release candidate available for ftp
> Message-ID: <

> address@hidden

>>
> Content-Type: text/plain; charset=us-ascii
> 
> John W. Eaton wrote
>> The third release candidate of Octave 3.8.1 is now available from
>> 
> <snip>
>> Please help make the 3.8.1 release a success by building from this
>> release candidate and reporting any problems.
> :
> <snip>
> On Windows 7 (cross-built w. MXE) __run_test_suite__.m:
> ===========================================
>   Summary:
> 
>   PASS     11350
>   FAIL         0
> :
> <snip>
> :
> However, printing plots from fltk doesn't work OOTB:
> 
>>> plot ([1 ])
>>> print ('tst.png', '-dpng')
> warning: print.m: epstool binary is not available.
> Some output formats are not available.
> error: fltk: printing not available without gl2ps library
> error: octave_base_value::matrix_value(): wrong type argument '
> <unknown
> type>
> '
> error: drawnow: A(I,J): row index out of bounds; value 1 out of bound 0
> error: called from:
> error:  
> C:\Octave\Octave-3.8.1-rc3\share\octave\3.8.1-rc3\m\plot\util\private\__fltk_print__.m
> at line 166, column 5
> error:  
> C:\Octave\Octave-3.8.1-rc3\share\octave\3.8.1-rc3\m\plot\util\print.m at
> line 422, column 14
> 
> The "fltk: printing not available without gl2ps library" message is
> intruiging:
> 
>>> octave_config_info("features").GL2PS_H
> ans = 0
> 
> AFAIK gl2ps is included in MXE.
> 
> Philip
> 
> 
> -----------
> 
> On my windows 7 box, mxe cross compiled on FC20:
> 
> GUI:
>   PASS     11471
>   FAIL         4
>   XFAIL        8
>   SKIPPED     12
> 
>   miscellaneous\bzip2.m ..................................Critical:
> QFileSystemWatcher: FindNextChange
> Notification failed!! (Access is denied.)  PASS    1/1
>   io\importdata.m ........................................ PASS   19/23
> FAIL 4
> 
> 
> fntests.log:
>>>>>> processing
> C:\Octave\Octave-3.8.1-rc3\share\octave\3.8.1-rc3\m\io\importdata.m
>   ***** test
>  ## Comma separated values
>  A = [3.1 -7.2 0; 0.012 6.5 128];
>  fn  = tmpnam ();
>  fid = fopen (fn, "w");
>  fputs (fid, "3.1,-7.2,0\n0.012,6.5,128");
>  fclose (fid);
>  [a1,d1,h1] = importdata (fn, ",");
>  [a2,d2,h2] = importdata (fn);
>  unlink (fn);
>  assert (a1, A);
>  assert (d1, ",");
>  assert (h1, 0);
>  assert (a2, A);
>  assert (d2, ",");
>  assert (h2, 0);
> !!!!! test failed
> regexp: invalid range in character class at position 4 of expression
>   ***** test
>  ## Tab separated values
>  A = [3.1 -7.2 0; 0.012 6.5 128];
>  fn  = tmpnam ();
>  fid = fopen (fn, "w");
>  fputs (fid, "3.1\t-7.2\t0\n0.012\t6.5\t128");
>  fclose (fid);
>  [a1,d1,h1] = importdata (fn, "\t");
>  [a2,d2,h2] = importdata (fn);
>  unlink (fn);
>  assert (a1, A);
>  assert (d1, "\t");
>  assert (h1, 0);
>  assert (a2, A);
>  assert (d2, "\t");
>  assert (h2, 0);
> !!!!! test failed
> regexp: invalid range in character class at position 4 of expression
>   ***** test
>  ## Space separated values, using multiple spaces to align in columns.
>  A = [3.1 -7.2 0; 0.012 6.5 128];
>  fn  = tmpnam ();
>  fid = fopen (fn, "w");
>  fprintf (fid, "%10.3f %10.3f %10.3f\n", A');
>  fclose (fid);
>  [a1,d1,h1] = importdata (fn, " ");
>  [a2,d2,h2] = importdata (fn);
>  unlink (fn);
>  assert (a1, A);
>  assert (d1, " ");
>  assert (h1, 0);
>  assert (a2, A);
>  assert (d2, " ");
>  assert (h2, 0);
> !!!!! test failed
> regexp: invalid range in character class at position 4 of expression
>   ***** test
>  ## No separator, 1 column of data only
>  A = [3.1;-7.2;0;0.012;6.5;128];
>  fn  = tmpnam ();
>  fid = fopen (fn, "w");
>  fprintf (fid, "%f\n", A);
>  fclose (fid);
>  [a1,d1,h1] = importdata (fn, "");
>  [a2,d2,h2] = importdata (fn);
>  unlink (fn);
>  assert (a1, A);
>  assert (d1, "");
>  assert (h1, 0);
>  assert (a2, A);
>  assert (d2, "");
>  assert (h2, 0);
> !!!!! test failed
> regexp: invalid range in character class at position 4 of expression

Here I get:
>> test importdata.m
PASSES 23 out of 23 tests


> For gl2ps:
>>> octave_config_info("features").GL2PS_H
> ans =  1
> 
> 
> In command line mode:
> PASS     11471
>  FAIL         4
>  XFAIL        9
>  SKIPPED     12

Comparing the number of tests it appears you have a few more dependencies
included.
My MXE setup is ~3 weeks old so that could make sense.


> For gl2ps:
>>> octave_config_info("features").GL2PS_H
> ans =  1

I do have gl2ps.h in /include, and libgl2ps.dll in /bin - intruiging.

In the octave mxe build log (on my Linux build box) I saw several entries
about "removing gl2ps.h" and "removing gl2ps-renderer.h".

Anyway I'll probably have little time to dive deeper into this until early
March - I'm away next week.

Philip




--
View this message in context: 
http://octave.1599824.n4.nabble.com/Re-Octave-3-8-1-rc3-release-candidate-available-for-ftp-test-failures-tp4662112p4662121.html
Sent from the Octave - Maintainers mailing list archive at Nabble.com.


reply via email to

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