← Back to team overview

ubuntu-sdk-bugs team mailing list archive

[Bug 1273893] Re: Make check fails because February has 31 (!) days

 

** Changed in: ubuntu-ui-toolkit
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
SDK bug tracking, which is subscribed to ubuntu-ui-toolkit in Ubuntu.
https://bugs.launchpad.net/bugs/1273893

Title:
  Make check fails because February has 31 (!) days

Status in Ubuntu UI Toolkit:
  Fix Released
Status in “ubuntu-ui-toolkit” package in Ubuntu:
  Fix Released

Bug description:
  When I run 'make check' on current trunk, I get this:

  Executing ./tst_components -platform minimal -input tst_dateutils.qml -maxwarnings 20 -o ../../test_tst_dateutils.qml.xml,xunitxml -o -,txt
  ********* Start testing of components *********
  Config: Using QTest library 5.0.2, Qt 5.0.2
  PASS   : components::DateUtilsAPI::initTestCase()
  PASS   : components::DateUtilsAPI::test_0isValid()
  PASS   : components::DateUtilsAPI::test_daysInMonth(row 0)
  FAIL!  : components::DateUtilsAPI::test_daysInMonth(row 1) daysInMonth() failed for month 2
     Actual   (): 31
     Expected (): 28
     Loc: [/home/tim/dev/ubuntu-ui-toolkit/trunk/tests/unit/tst_components/tst_dateutils.qml(81)]
  PASS   : components::DateUtilsAPI::test_daysInMonth(row 2)
  PASS   : components::DateUtilsAPI::test_daysInMonth(row 3)
  PASS   : components::DateUtilsAPI::test_daysInMonth(row 4)
  PASS   : components::DateUtilsAPI::test_daysInMonth(row 5)
  PASS   : components::DateUtilsAPI::test_daysInMonth(row 6)
  PASS   : components::DateUtilsAPI::test_daysInMonth(row 7)
  PASS   : components::DateUtilsAPI::test_daysInMonth(row 8)
  PASS   : components::DateUtilsAPI::test_daysInMonth(row 9)
  PASS   : components::DateUtilsAPI::test_daysInMonth(row 10)
  PASS   : components::DateUtilsAPI::test_daysInMonth(row 11)
  PASS   : components::DateUtilsAPI::test_daysTo(row 0)
  PASS   : components::DateUtilsAPI::test_daysTo(row 1)
  PASS   : components::DateUtilsAPI::test_daysTo(row 2)
  PASS   : components::DateUtilsAPI::test_daysTo(row 3)
  PASS   : components::DateUtilsAPI::test_daysTo(row 4)
  PASS   : components::DateUtilsAPI::test_daysTo(row 5)
  PASS   : components::DateUtilsAPI::test_getInvalidDate()
  PASS   : components::DateUtilsAPI::test_getWeek(row 0)
  PASS   : components::DateUtilsAPI::test_getWeek(row 1)
  PASS   : components::DateUtilsAPI::test_getWeek(row 2)
  PASS   : components::DateUtilsAPI::test_getWeek(row 3)
  PASS   : components::DateUtilsAPI::test_getWeek(row 4)
  PASS   : components::DateUtilsAPI::test_leapYear(row 0)
  PASS   : components::DateUtilsAPI::test_leapYear(row 1)
  PASS   : components::DateUtilsAPI::test_leapYear(row 2)
  PASS   : components::DateUtilsAPI::test_leapYear(row 3)
  PASS   : components::DateUtilsAPI::test_midnight()
  PASS   : components::DateUtilsAPI::test_monthsTo(row 0)
  PASS   : components::DateUtilsAPI::test_monthsTo(row 1)
  PASS   : components::DateUtilsAPI::test_monthsTo(row 2)
  PASS   : components::DateUtilsAPI::test_monthsTo(row 3)
  PASS   : components::DateUtilsAPI::test_monthsTo(row 4)
  PASS   : components::DateUtilsAPI::cleanupTestCase()
  Totals: 36 passed, 1 failed, 0 skipped
  ********* Finished testing of components *********
  make[3]: *** [check] Error 1
  make[3]: Leaving directory `/home/tim/dev/ubuntu-ui-toolkit/trunk/tests/unit/tst_components'
  make[2]: *** [sub-tst_components-check] Error 2
  make[2]: Leaving directory `/home/tim/dev/ubuntu-ui-toolkit/trunk/tests/unit'
  make[1]: *** [sub-unit-check] Error 2
  make[1]: Leaving directory `/home/tim/dev/ubuntu-ui-toolkit/trunk/tests'
  make: *** [sub-tests-check] Error 2
  tim@ideapad:~/dev/ubuntu-ui-toolkit/trunk$

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-ui-toolkit/+bug/1273893/+subscriptions