bugGnash - The GNU Flash player - Bugs: bug #39540, FAIL: astests-v8-Runner: expected:...

 
 

bug #39540: FAIL: astests-v8-Runner: expected: 5 obtained: 6 [./TextFormat.as:432]

Submitter:  Gabriele Giacone <gg0>
Submitted:  Sat 20 Jul 2013 03:08:21 PM UTC
   
 
Category:  testsuite Severity:  3 - Normal
Release:  master Status:  Fixed
Privacy:  Public Assigned to:  bjacques
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 23 Jul 2013 06:37:48 AM UTC, comment #2: 

It would be great to also have tests for device fonts as that part is really lacking in the testsuite.

Sandro Santilli <strk>
Group Member
Sun 21 Jul 2013 08:01:24 AM UTC, comment #1: 

There were a few problems leading up to this failure:

- The tests, despite specifying an exported font symbol, were always using device fonts.
- getTextExtent only worked on device fonts; not on embedded fonts or imported fonts.

My suspicion is that given the unavailability of dejafont, Gnash would fall back to a Sans font so similar that only one failure would be observed.

Test fixed in a9f9fb9fd, getTextExtent in e584b4c8978b. Seeing as all testing is now done on a font included in the source tree, the attached patch in this bug is obsolete.

Bastiaan Jacques <bjacques>
Group Member
Sat 20 Jul 2013 03:08:21 PM UTC, original submission:  

Test was failing on fedora slaves till i installed dejavu sans fonts. Why just one failed test?

Attached patch just checks if dejavu font is present and suggests to install it.
Any better alternatives?



Gabriele Giacone <gg0>
Group Member

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #28627:  01dejavu.patch added by gg0 (1KiB - text/x-diff)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by strk (Posted a comment)
  • -email is unavailable- added by bjacques (Posted a comment)
  • -email is unavailable- added by gg0 (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 logged-in users can vote.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2013-07-21 bjacques StatusNone Fixed
        Assigned toNone bjacques
        Open/ClosedOpen Closed
    2013-07-20 gg0 Attached File- Added 01dejavu.patch, #28627

    Back to the top

    Powered by Savane 3.13-4b48.
    Corresponding source code