Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-62528

tst_QFont::defaultFamily fails with B2Qt Morty toolset

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • None
    • 5.9
    • GUI: Font handling
    • B2Qt Morty, Ubuntu 16.04

    Description

      /home/qt/work/qt/qtbase/tests/auto/gui/text/qfont/target_wrapper.sh  ./tst_qfont -o /home/qt/work/testresults/tests/auto/gui/text/qfont921502269,xml -o -,txt
      ********* Start testing of tst_QFont *********
      Config: Using QtTest library 5.9.2, Qt 5.9.2 (arm-little_endian-ilp32-eabi-hardfloat shared (dynamic) release build; by GCC 6.2.0)
      PASS   : tst_QFont::initTestCase()
      PASS   : tst_QFont::getSetCheck()
      PASS   : tst_QFont::exactMatch()
      PASS   : tst_QFont::compare()
      PASS   : tst_QFont::resolve()
      PASS   : tst_QFont::resetFont()
      PASS   : tst_QFont::isCopyOf()
      PASS   : tst_QFont::italicOblique()
      PASS   : tst_QFont::insertAndRemoveSubstitutions()
      PASS   : tst_QFont::serialize(defaultConstructed)
      PASS   : tst_QFont::serialize(letterSpacing)
      PASS   : tst_QFont::serialize(wordSpacing)
      PASS   : tst_QFont::serialize(pointSize)
      PASS   : tst_QFont::serialize(pixelSize)
      PASS   : tst_QFont::serialize(styleHint)
      PASS   : tst_QFont::serialize(stretch)
      PASS   : tst_QFont::serialize(weight)
      PASS   : tst_QFont::serialize(underline)
      PASS   : tst_QFont::serialize(strikeOut)
      PASS   : tst_QFont::serialize(fixedPitch)
      PASS   : tst_QFont::serialize(letterSpacing)
      PASS   : tst_QFont::serialize(kerning)
      PASS   : tst_QFont::serialize(styleStrategy)
      PASS   : tst_QFont::serialize(hintingPreference)
      PASS   : tst_QFont::serialize(styleName)
      PASS   : tst_QFont::serialize(capitalization)
      SKIP   : tst_QFont::lastResortFont() QFont::lastResortFont() may abort with qFatal() on QPA, QTBUG-22325
         Loc: [tst_qfont.cpp(470)]
      SKIP   : tst_QFont::styleName() Only tested on Mac
         Loc: [tst_qfont.cpp(478)]
      FAIL!  : tst_QFont::defaultFamily(serif) 'isAcceptable' returned FALSE. (Font family 'Cantarell' is not one of the following acceptable results: 
       Times New Roman
       Times
       Droid Serif
       DejaVu Serif)
         Loc: [tst_qfont.cpp(542)]
      FAIL!  : tst_QFont::defaultFamily(monospace) 'isAcceptable' returned FALSE. (Font family 'Cantarell' is not one of the following acceptable results: 
       Courier New
       Monaco
       Droid Sans Mono
       DejaVu Sans Mono)
         Loc: [tst_qfont.cpp(542)]
      FAIL!  : tst_QFont::defaultFamily(cursive) 'isAcceptable' returned FALSE. (Font family 'Cantarell' is not one of the following acceptable results: 
       Comic Sans MS
       Apple Chancery
       Roboto
       Droid Sans
       Comic Sans MS)
         Loc: [tst_qfont.cpp(542)]
      FAIL!  : tst_QFont::defaultFamily(fantasy) 'isAcceptable' returned FALSE. (Font family 'Cantarell' is not one of the following acceptable results: 
       Impact
       Zapfino
       Roboto
       Droid Sans
       Impact)
         Loc: [tst_qfont.cpp(542)]
      FAIL!  : tst_QFont::defaultFamily(sans-serif) 'isAcceptable' returned FALSE. (Font family 'Cantarell' is not one of the following acceptable results: 
       Arial
       Lucida Grande
       Roboto
       Droid Sans
       Segoe UI
       DejaVu Sans)
         Loc: [tst_qfont.cpp(542)]
      SKIP   : tst_QFont::toAndFromString() Default font doesn't have any styles
         Loc: [tst_qfont.cpp(553)]
      PASS   : tst_QFont::fromStringWithoutStyleName()
      PASS   : tst_QFont::sharing()
      PASS   : tst_QFont::cleanupTestCase()
      Totals: 29 passed, 5 failed, 3 skipped, 0 blacklisted, 372ms
      ********* Finished testing of tst_QFont *********
      Makefile:327: recipe for target 'check' failed
      make: *** [check] Error 5
      
      agent:2017/08/15 14:29:27 build.go:203: Process finished with error: exit status 2
      agent:2017/08/15 14:29:27 build.go:155: Error reading from stdout/err: exit status 2
      

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              sanurmen Sami Nurmenniemi
              tosaraja Tony Sarajärvi
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes