TestStelJsonParser fails

Bug #1719076 reported by Pierre-Yves on 2017-09-23
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Stellarium
Low
Alexander Wolf

Bug Description

With Stellarium 0.16.1 on Linux 64bit:

Build is successfull, but the "make tests" fails for the following test:

********* Start testing of TestStelJsonParser *********
Config: Using QtTest library 5.9.1, Qt 5.9.1 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 6.4.0)
PASS : TestStelJsonParser::initTestCase()
PASS : TestStelJsonParser::testBase()
PASS : TestStelJsonParser::benchmarkParse()
RESULT : TestStelJsonParser::benchmarkParse():
     0.076 msecs per iteration (total: 78, iterations: 1024)
QDEBUG : TestStelJsonParser::testErrors() ERROR parsing JSON data: unterminated object
FAIL! : TestStelJsonParser::testErrors() 'wasCatched' returned FALSE. ()
   Loc: [/home/build/YPKG/root/stellarium/build/stellarium-0.16.1/src/tests/testStelJsonParser.cpp(104)]
PASS : TestStelJsonParser::cleanupTestCase()
Totals: 4 passed, 1 failed, 0 skipped, 0 blacklisted, 329ms
********* Finished testing of TestStelJsonParser *********

Related branches

Changed in stellarium:
status: New → Confirmed
assignee: nobody → Alexander Wolf (alexwolf)
Changed in stellarium:
importance: Undecided → Low
milestone: none → 0.17.0
Alexander Wolf (alexwolf) wrote :

A fix has been committed as revision 9825 of the trunk branch in Stellarium's Bazaar repository at Launchpad: http://bazaar.launchpad.net/~stellarium/stellarium/trunk/revision/9825

This fix also cover the bug #1706187 (the source of current bug).

Pierre-Yves (kyrios) wrote :

Thanks for this very quick fix !

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers