Details

    • Technical task
    • Resolution: Fixed
    • P2: Important
    • None
    • Coin (obsolete)
    • Windows7 x86 MSVC2010 qtci-windows-7-x86-4fa42a Release, DeveloperBuild, QtNamespace, QtLibInfix, OpenGLDynamic

    Description

      The test fails:

      call C:\Users\qt\work\qt\qtbase\tests\auto\widgets\widgets\qmainwindow\target_wrapper.bat  release\tst_qmainwindow.exe -o C:\Users\qt\work\testresults\tests\auto\widgets\widgets\qmainwindow969158588,xml -o -,txt
      ********* Start testing of tst_QMainWindow *********
      Config: Using QtTest library 5.6.3, Qt 5.6.3 (i386-little_endian-ilp32 shared (dynamic) release build; by MSVC 2010)
      PASS   : tst_QMainWindow::initTestCase()
      PASS   : tst_QMainWindow::getSetCheck()
      PASS   : tst_QMainWindow::constructor()
      PASS   : tst_QMainWindow::iconSize()
      PASS   : tst_QMainWindow::toolButtonStyle()
      PASS   : tst_QMainWindow::menuBar()
      PASS   : tst_QMainWindow::centralWidget()
      PASS   : tst_QMainWindow::takeCentralWidget()
      PASS   : tst_QMainWindow::corner()
      PASS   : tst_QMainWindow::addToolBarBreak()
      PASS   : tst_QMainWindow::insertToolBarBreak()
      PASS   : tst_QMainWindow::addToolBar()
      PASS   : tst_QMainWindow::insertToolBar()
      PASS   : tst_QMainWindow::removeToolBar()
      PASS   : tst_QMainWindow::toolBarArea()
      PASS   : tst_QMainWindow::addDockWidget()
      PASS   : tst_QMainWindow::splitDockWidget()
      PASS   : tst_QMainWindow::removeDockWidget()
      PASS   : tst_QMainWindow::dockWidgetArea()
      QWARN  : tst_QMainWindow::restoreState() QMainWindow::saveState(): 'objectName' not set for QDockWidget 0x24ef84 ';
      QWARN  : tst_QMainWindow::restoreState() QMainWindow::saveState(): 'objectName' not set for QToolBar 0x24ef9c ''
      QWARN  : tst_QMainWindow::restoreState() QMainWindow::saveState(): 'objectName' not set for QDockWidget 0x24ef84 ';
      QWARN  : tst_QMainWindow::restoreState() QMainWindow::saveState(): 'objectName' not set for QToolBar 0x24ef9c ''
      PASS   : tst_QMainWindow::restoreState()
      PASS   : tst_QMainWindow::restoreStateFromPreviousVersion()
      PASS   : tst_QMainWindow::createPopupMenu()
      PASS   : tst_QMainWindow::hideBeforeLayout()
      PASS   : tst_QMainWindow::saveRestore(1)
      PASS   : tst_QMainWindow::saveRestore(2)
      PASS   : tst_QMainWindow::saveRestore(3)
      PASS   : tst_QMainWindow::saveRestore(4)
      PASS   : tst_QMainWindow::statusBar()
      PASS   : tst_QMainWindow::contentsMargins(0)
      PASS   : tst_QMainWindow::contentsMargins(10)
      PASS   : tst_QMainWindow::isSeparator()
      PASS   : tst_QMainWindow::setCursor()
      PASS   : tst_QMainWindow::addToolbarAfterShow()
      PASS   : tst_QMainWindow::centralWidgetSize()
      QWARN  : tst_QMainWindow::fixedSizeCentralWidget() TestNamespace::QWindowsWindow::setGeometry: Unable to set geometry 404x648+4+23 on QWidgetWindow/'QMainWindowClassWindow'. Resulting geometry:  404x585+4+23 (frame: 4, 23, 4, 4, custom margin: 0, 0, 0, 0, minimum size: 174x124, maximum size: 16777215x16777215).
      SKIP   : tst_QMainWindow::fixedSizeCentralWidget() The screen is too small for this test
      tst_qmainwindow.cpp(1817) : failure location
      PASS   : tst_QMainWindow::dockWidgetSize()
      PASS   : tst_QMainWindow::QTBUG2774_stylechange()
      PASS   : tst_QMainWindow::QTBUG15080_restoreState()
      QWARN  : tst_QMainWindow::QTBUG21378_animationFinished() TestNamespace::QWindowsWindow::setGeometry: Unable to set geometry 800x600+4+23 on QWidgetWindow/'QMainWindowClassWindow'. Resulting geometry:  800x585+4+23 (frame: 4, 23, 4, 4, custom margin: 0, 0, 0, 0, minimum size: 14x14, maximum size: 16777215x16777215).
      PASS   : tst_QMainWindow::QTBUG21378_animationFinished()
      QWARN  : tst_QMainWindow::resizeDocks(1) TestNamespace::QWindowsWindow::setGeometry: Unable to set geometry 1800x600+4+23 on QWidgetWindow/'QMainWindowClassWindow'. Resulting geometry:  804x585+4+23 (frame: 4, 23, 4, 4, custom margin: 0, 0, 0, 0, minimum size: 477x239, maximum size: 16777215x16777215).
      FAIL!  : tst_QMainWindow::resizeDocks(1) Compared values are not the same
         Actual   (value)                                             : 123
         Expected (qRound(sizes[i]*actualTotal/double(totalFromList))): 161
      tst_qmainwindow.cpp(2046) : failure location
      QWARN  : tst_QMainWindow::resizeDocks(2) TestNamespace::QWindowsWindow::setGeometry: Unable to set geometry 1800x600+4+23 on QWidgetWindow/'QMainWindowClassWindow'. Resulting geometry:  804x585+4+23 (frame: 4, 23, 4, 4, custom margin: 0, 0, 0, 0, minimum size: 477x239, maximum size: 16777215x16777215).
      PASS   : tst_QMainWindow::resizeDocks(2)
      QWARN  : tst_QMainWindow::resizeDocks(3) TestNamespace::QWindowsWindow::setGeometry: Unable to set geometry 1800x600+4+23 on QWidgetWindow/'QMainWindowClassWindow'. Resulting geometry:  804x585+4+23 (frame: 4, 23, 4, 4, custom margin: 0, 0, 0, 0, minimum size: 477x239, maximum size: 16777215x16777215).
      FAIL!  : tst_QMainWindow::resizeDocks(3) Compared values are not the same
         Actual   (value)                                             : 162
         Expected (qRound(sizes[i]*actualTotal/double(totalFromList))): 177
      tst_qmainwindow.cpp(2046) : failure location
      PASS   : tst_QMainWindow::cleanupTestCase()
      Totals: 40 passed, 2 failed, 1 skipped, 0 blacklisted
      ********* Finished testing of tst_QMainWindow *********
      jom: C:\Users\qt\work\qt\qtbase\tests\auto\widgets\widgets\qmainwindow\Makefile.Release [check] Error 2
      jom: C:\Users\qt\work\qt\qtbase\tests\auto\widgets\widgets\qmainwindow\Makefile [release-check] Error 2
      
      agent:2017/01/11 10:20:45 build.go:202: Process finished with error: exit status 2
      agent:2017/01/11 10:20:45 build.go:154: Error reading from stdout/err: exit status 2
      agent:2017/01/11 10:21:05 build.go:272: [c:\users\qt\MSVC2010.bat jom check] 900 1200
      
      C:\Users\qt\work\qt\qtbase\tests\auto\widgets\widgets\qmainwindow>call "c:\Program Files\Microsoft Visual Studio 10.0\Common7\Tools\\vsvars32.bat" x86  
      Setting environment for using Microsoft Visual Studio 2010 x86 tools.
      
      C:\Users\qt\work\qt\qtbase\tests\auto\widgets\widgets\qmainwindow>cmd /c jom check 
      
      jom 1.1.0 - empower your cores
      
      	C:\utils\jom\jom.exe -f Makefile.Release check
      	call C:\Users\qt\work\qt\qtbase\tests\auto\widgets\widgets\qmainwindow\target_wrapper.bat  release\tst_qmainwindow.exe resizeDocks
      ********* Start testing of tst_QMainWindow *********
      Config: Using QtTest library 5.6.3, Qt 5.6.3 (i386-little_endian-ilp32 shared (dynamic) release build; by MSVC 2010)
      PASS   : tst_QMainWindow::initTestCase()
      QWARN  : tst_QMainWindow::resizeDocks(1) TestNamespace::QWindowsWindow::setGeometry: Unable to set geometry 1800x600+4+23 on QWidgetWindow/'QMainWindowClassWindow'. Resulting geometry:  804x585+4+23 (frame: 4, 23, 4, 4, custom margin: 0, 0, 0, 0, minimum size: 477x239, maximum size: 16777215x16777215).
      FAIL!  : tst_QMainWindow::resizeDocks(1) Compared values are not the same
         Actual   (value)                                             : 123
         Expected (qRound(sizes[i]*actualTotal/double(totalFromList))): 161
      tst_qmainwindow.cpp(2046) : failure location
      QWARN  : tst_QMainWindow::resizeDocks(2) TestNamespace::QWindowsWindow::setGeometry: Unable to set geometry 1800x600+4+23 on QWidgetWindow/'QMainWindowClassWindow'. Resulting geometry:  804x585+4+23 (frame: 4, 23, 4, 4, custom margin: 0, 0, 0, 0, minimum size: 477x239, maximum size: 16777215x16777215).
      PASS   : tst_QMainWindow::resizeDocks(2)
      QWARN  : tst_QMainWindow::resizeDocks(3) TestNamespace::QWindowsWindow::setGeometry: Unable to set geometry 1800x600+4+23 on QWidgetWindow/'QMainWindowClassWindow'. Resulting geometry:  804x585+4+23 (frame: 4, 23, 4, 4, custom margin: 0, 0, 0, 0, minimum size: 477x239, maximum size: 16777215x16777215).
      FAIL!  : tst_QMainWindow::resizeDocks(3) Compared values are not the same
         Actual   (value)                                             : 162
         Expected (qRound(sizes[i]*actualTotal/double(totalFromList))): 177
      tst_qmainwindow.cpp(2046) : failure location
      PASS   : tst_QMainWindow::cleanupTestCase()
      Totals: 3 passed, 2 failed, 0 skipped, 0 blacklisted
      ********* Finished testing of tst_QMainWindow *********
      jom: C:\Users\qt\work\qt\qtbase\tests\auto\widgets\widgets\qmainwindow\Makefile.Release [check] Error 2
      jom: C:\Users\qt\work\qt\qtbase\tests\auto\widgets\widgets\qmainwindow\Makefile [release-check] Error 2
      

      Attachments

        Issue Links

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

          Activity

            People

              shausman Simon Hausmann
              nierob Nierob
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes