bugGNU Octave - Bugs: bug #57821, [octave forge] (geometry) test...

 
 

bug #57821: [octave forge] (geometry) test failures on macOS

Submitter:  Andrew Janke <apjanke>
Submitted:  Sat 15 Feb 2020 04:19:53 AM UTC
   
 
Category:  Octave Package Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Incorrect Result
Status:  Works For Me Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * 5.2.0 Operating System:  * Mac OS
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Sat 15 Feb 2020 08:36:58 AM UTC, comment #3: 

Thanks. I'll just ignore these failures, then.

Andrew Janke <apjanke>
Sat 15 Feb 2020 08:14:25 AM UTC, comment #2: 

svg is broken, I have made all tests xtests see https://savannah.gnu.org/bugs/index.php?57779

clipPolygon:
matgeom clipPolygon has no tests, so you are really testing geometry's.
check

which clipPolygon

here

test clipPolygon
PASSES 2 out of 2 tests


For versions of octave < 6.0.0 the automatic shadowing doens't work anyways. pkg was fixed in default.



Juan Pablo Carbajal <juanpi>
Group Member
Sat 15 Feb 2020 04:20:53 AM UTC, comment #1: 

Oops; a bad verbatim tag snipped off the rest of my post.

Under Octave 5.2.0 on macOS 10.14.6, I'm getting some test failures.


octave:4> runtests2 -pkg geometry
  /Users/janke/octave/geometry-4.0.0/@svg/svg.m ...............sh: python3: command not found
sh: python3: command not found
sh: python3: command not found
 PASS      0/3
                                                                FAIL      3
  /Users/janke/octave/geometry-4.0.0/clipPolygon.m ............ans = [](0x2)
ans = [](0x2)
 PASS      0/2
                                                                FAIL      2
  /Users/janke/octave/geometry-4.0.0/clipPolygon_mrf.m ........ PASS      4/4
[...]
Summary:

  GNU Octave Version: 5.2.0 (hg id: eb46a9f47164)
  Tests run on angharad.local (macOS) at 14-Feb-2020 23:16:01
  Test execution time: 00:00:02

  PASS                               98
  FAIL                                5

  Failed tests:
     /Users/janke/octave/geometry-4.0.0/@svg/svg.m
     /Users/janke/octave/geometry-4.0.0/clipPolygon.m

octave:5> test clipPolygon
????? /Users/janke/octave/matgeom-1.2.2/polygons2d/clipPolygon.m has no tests available
octave:6> test /Users/janke/octave/geometry-4.0.0/clipPolygon.m
ans = [](0x2)
***** error clipPolygon([],[],[],'abracadabra')
!!!!! error failed.
Expected an error, but got no error

octave:7>


For the first one, maybe Python 3 is widespread enough that you can't expect a specific python3 command to exist?

For the second one, maybe this is a load order/shadowing issue between the two clipPolygons in geometry and matgeom?

Andrew Janke <apjanke>
Sat 15 Feb 2020 04:19:53 AM UTC, original submission:  

Under Octave 5.2.0 on macOS 10.14.6, I'm getting some test failures.


octave:4> runtests2 -pkg geometry
  /Users/janke/octave/geometry-4.0.0/@svg/svg.m ...............sh: python3: command not found
sh: python3: command not found
sh: python3: command not found
 PASS      0/3
                                                                FAIL      3
  /Users/janke/octave/geometry-4.0.0/clipPolygon.m ............ans = [](0x2)
ans = [](0x2)
 PASS      0/2
                                                                FAIL      2
  /Users/janke/octave/geometry-4.0.0/clipPolygon_mrf.m ........ PASS      4/4
[...]
Summary:

  GNU Octave Version: 5.2.0 (hg id: eb46a9f47164)
  Tests run on angharad.local (macOS) at 14-Feb-2020 23:16:01
  Test execution time: 00:00:02

  PASS                               98
  FAIL                                5

  Failed tests:
     /Users/janke/octave/geometry-4.0.0/@svg/svg.m
     /Users/janke/octave/geometry-4.0.0/clipPolygon.m

octave:5> test clipPolygon
????? /Users/janke/octave/matgeom-1.2.2/polygons2d/clipPolygon.m has no tests available
octave:6> test /Users/janke/octave/geometry-4.0.0/clipPolygon.m
ans = [](0x2)
***** error clipPolygon([],[],[],'abracadabra')
!!!!! error failed.
Expected an error, but got no error

octave:7>
+verbatim+

For the first one, maybe Python 3 is widespread enough that you can't expect a specific python3 command to exist?

For the second one, maybe this is a load order/shadowing issue between the two clipPolygons in geometry and matgeom?

Andrew Janke <apjanke>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by juanpi (Posted a comment)
  • -email is unavailable- added by apjanke (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2020-02-15 mtmiller StatusNone Works For Me
        Open/ClosedOpen Closed
        Summary[geometry] Test failures on macOS [octave forge] (geometry) test failures on macOS

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code