bugGNU Octave - Bugs: bug #55521, [octave forge] (image) Unit tests...

 
 

bug #55521: [octave forge] (image) Unit tests for bwpack and bwunpack fail on big endian architectures

Submitted by:  Rafael Laboissiere <rlaboiss>
Submitted on:  Sat 19 Jan 2019 09:02:15 PM UTC  
 
Category:  Octave Forge Package Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Other
Status:  None Assigned to:  None
Originator Name:  Open/Closed:  Open
Release:  other Operating System:  GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

( Jump to the original submission)

Wed 23 Jan 2019 07:24:22 PM UTC, comment #8:

Sorry for the noise. Now done:
http://hg.code.sf.net/p/octave/image/rev/3070b84bf955

Avinoam Kalma <avinoam>
Project Member
Wed 23 Jan 2019 07:20:45 PM UTC, comment #7:

Done http://hg.code.sf.net/p/octave/image/rev/1a8f90911d15

Avinoam Kalma <avinoam>
Project Member
Wed 23 Jan 2019 07:19:33 PM UTC, comment #6:

Could we add the bug number comment "## bug #55521" also to this test in bwpack.m?

assert (bwpack (eye (5)), uint32 ([1 2 4 8 16]))

(Currently only 4 out of the 5 new xtests are marked with the bug number.)

Hartmut <hardy>
Wed 23 Jan 2019 07:01:30 PM UTC, comment #5:

pushed http://hg.code.sf.net/p/octave/image/rev/6b7cbdca19f2

Avinoam Kalma <avinoam>
Project Member
Tue 22 Jan 2019 04:44:16 AM UTC, comment #4:

In this case, please apply the attached patch for now, such that the test will not fial on big-endian systems.

(file #46068)

Rafael Laboissiere <rlaboiss>
Mon 21 Jan 2019 11:25:34 AM UTC, comment #3:

Thank you for the bug report. This is a known issue in Octave core. Duplicate of bug #54931.

I'd prefer to not do anything in the image package itself, since any effort on fixing this for the package would be better spent trying to fix it in core.

Carnë Draug <carandraug>
Project Member
Sun 20 Jan 2019 06:31:19 PM UTC, comment #2:

Adding people to CC.

Avinoam Kalma <avinoam>
Project Member
Sat 19 Jan 2019 09:03:10 PM UTC, comment #1:

The title of the bug went wrong. It is related to the OF package image, not signal. Please, fix it.

Rafael Laboissiere <rlaboiss>
Sat 19 Jan 2019 09:02:15 PM UTC, original submission:

Some unit tests for functions bwpack and bwunpack are failing on Debian GNU/Linux big-endian systems (mips and [s390x https://buildd.debian.org/status/fetch.php?pkg=octave-image&arch=s390x&ver=2.10.0-1&stamp=1546707021&raw=0] architectures).

Here is an excerpt of the build log with the problematic tests:

Rafael Laboissiere <rlaboiss>

 

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

Attach Files:
   
   
Comment:
   

Attached Files

 

Digest:
   bug dependencies.

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by hardy (Posted a comment)
  • -email is unavailable- added by avinoam (Posted a comment)
  • -email is unavailable- added by avinoam
  • -email is unavailable- added by avinoam
  • -email is unavailable- added by avinoam
  • -email is unavailable- added by pantxo (Updated the item)
  • -email is unavailable- added by rlaboiss (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

     

     

    Follow 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2019-01-22 rlaboiss Attached File- => Added xtest-bwpack-big-endian.patch, #46068
    2019-01-21 carandraug Dependencies- => Depends on bugs #54931
    2019-01-20 avinoam Carbon-Copy- => Added hardy
        Carbon-Copy- => Added carandraug
        Carbon-Copy- => Added tojtoj
    2019-01-19 pantxo Summary[octave forge] (signal) Unit tests for bwpack and bwunpack fail on big endian architectures => [octave forge] (image) Unit tests for bwpack and bwunpack fail on big endian architectures

    Back to the top


    Powered by Savane 3.4