Structure View Test failed!

TXS - Help
pheidrias
2013-04-10
2013-04-11
  •  pheidrias
    pheidrias
    2013-04-10

    Hello together!

    I tried to install texstudio on a Ubuntu 13.04 64Bit machine with Gnome-Shell 3.8. I got the following error notification for the initial tests. They occur with texstudio 2.4 (standard repo) as well as 2.5.2 (ppa). Any idea, wether this is texstudio-related or not?

    Thanks!

    PS: I couldn't paste into a scrollbar-enabled environment - is there one available here?

    * Start testing of StructureViewTest *
    Config: Using QTest library 4.8.4, Qt 4.8.4
    PASS : StructureViewTest::initTestCase()
    FAIL! : StructureViewTest::script(add Label) Compared values are not the same
    Actual (res1.join("##")): Root: LVL:0 IND:0##Overview:?TIQUETTES LVL:0 IND:1##Label:test LVL:0 IND:2
    Expected (expectedStructure): Root: LVL:0 IND:0##Overview:LABELS LVL:0 IND:1##Label:test LVL:0 IND:2
    Loc: [tests/structureview_t.cpp(215)]
    FAIL! : StructureViewTest::script(add Label2) Compared values are not the same
    Actual (res1.join("##")): Root: LVL:0 IND:0##Overview:?TIQUETTES LVL:0 IND:1##Label:test LVL:0 IND:2##Label:test2 LVL:0 IND:2
    Expected (expectedStructure): Root: LVL:0 IND:0##Overview:LABELS LVL:0 IND:1##Label:test LVL:0 IND:2##Label:test2 LVL:0 IND:2
    Loc: [tests/structureview_t.cpp(215)]
    FAIL! : StructureViewTest::script(add Label3) Compared values are not the same
    Actual (res1.join("##")): Root: LVL:0 IND:0##Overview:?TIQUETTES LVL:0 IND:1##Label:test LVL:0 IND:2##Label:test2 LVL:0 IND:2##Label:test3 LVL:0 IND:2##Label:test4 LVL:0 IND:2##Label:test5 LVL:0 IND:2##Label:test6 LVL:0 IND:2
    Expected (expectedStructure): Root: LVL:0 IND:0##Overview:LABELS LVL:0 IND:1##Label:test LVL:0 IND:2##Label:test2 LVL:0 IND:2##Label:test3 LVL:0 IND:2##Label:test4 LVL:0 IND:2##Label:test5 LVL:0 IND:2##Label:test6 LVL:0 IND:2
    Loc: [tests/structureview_t.cpp(215)]
    FAIL! : StructureViewTest::script(change Label) Compared values are not the same
    Actual (res1.join("##")): Root: LVL:0 IND:0##Overview:?TIQUETTES LVL:0 IND:1##Label:test LVL:0 IND:2##Label:test2 LVL:0 IND:2##Label:test3 LVL:0 IND:2##Label:test4 LVL:0 IND:2##Label:test5 LVL:0 IND:2##Label:tabcest6 LVL:0 IND:2
    Expected (expectedStructure): Root: LVL:0 IND:0##Overview:LABELS LVL:0 IND:1##Label:test LVL:0 IND:2##Label:test2 LVL:0 IND:2##Label:test3 LVL:0 IND:2##Label:test4 LVL:0 IND:2##Label:test5 LVL:0 IND:2##Label:tabcest6 LVL:0 IND:2
    Loc: [tests/structureview_t.cpp(215)]
    FAIL! : StructureViewTest::script(change Label2) Compared values are not the same
    Actual (res1.join("##")): Root: LVL:0 IND:0##Overview:?TIQUETTES LVL:0 IND:1##Label:test LVL:0 IND:2##Label:test2 LVL:0 IND:2##Label:tabcest3 LVL:0 IND:2##Label:test4 LVL:0 IND:2##Label:test5 LVL:0 IND:2##Label:tabcest6 LVL:0 IND:2
    Expected (expectedStructure): Root: LVL:0 IND:0##Overview:LABELS LVL:0 IND:1##Label:test LVL:0 IND:2##Label:test2 LVL:0 IND:2##Label:tabcest3 LVL:0 IND:2##Label:test4 LVL:0 IND:2##Label:test5 LVL:0 IND:2##Label:tabcest6 LVL:0 IND:2
    Loc: [tests/structureview_t.cpp(215)]
    FAIL! : StructureViewTest::script(change Label3) Compared values are not the same
    Actual (res1.join("##")): Root: LVL:0 IND:0##Overview:?TIQUETTES LVL:0 IND:1##Label:test LVL:0 IND:2##Label:test2 LVL:0 IND:2##Label:tabcst3 LVL:0 IND:2##Label:test4 LVL:0 IND:2##Label:test5 LVL:0 IND:2##Label:tabcest6 LVL:0 IND:2
    Expected (expectedStructure): Root: LVL:0 IND:0##Overview:LABELS LVL:0 IND:1##Label:test LVL:0 IND:2##Label:test2 LVL:0 IND:2##Label:tabcst3 LVL:0 IND:2##Label:test4 LVL:0 IND:2##Label:test5 LVL:0 IND:2##Label:tabcest6 LVL:0 IND:2
    Loc: [tests/structureview_t.cpp(215)]
    FAIL! : StructureViewTest::script(remove line) Compared values are not the same
    Actual (res1.join("##")): Root: LVL:0 IND:0##Overview:?TIQUETTES LVL:0 IND:1##Label:test LVL:0 IND:2##Label:test2 LVL:0 IND:2##Label:test4 LVL:0 IND:2##Label:test5 LVL:0 IND:2##Label:tabcest6 LVL:0 IND:2
    Expected (expectedStructure): Root: LVL:0 IND:0##Overview:LABELS LVL:0 IND:1##Label:test LVL:0 IND:2##Label:test2 LVL:0 IND:2##Label:test4 LVL:0 IND:2##Label:test5 LVL:0 IND:2##Label:tabcest6 LVL:0 IND:2
    Loc: [tests/structureview_t.cpp(215)]
    FAIL! : StructureViewTest::script(remove lines2) Compared values are not the same
    Actual (res1.join("##")): Root: LVL:0 IND:0##Overview:?TIQUETTES LVL:0 IND:1##Label:test LVL:0 IND:2##Label:test5 LVL:0 IND:2##Label:tabcest6 LVL:0 IND:2
    Expected (expectedStructure): Root: LVL:0 IND:0##Overview:LABELS LVL:0 IND:1##Label:test LVL:0 IND:2##Label:test5 LVL:0 IND:2##Label:tabcest6 LVL:0 IND:2
    Loc: [tests/structureview_t.cpp(215)]
    FAIL! : StructureViewTest::script(add section) Compared values are not the same
    Actual (res1.join("##")): Root: LVL:0 IND:0##Overview:?TIQUETTES LVL:0 IND:1##Label:test LVL:0 IND:2##Label:test5 LVL:0 IND:2##Label:tabcest6 LVL:0 IND:2##Section:sec:test LVL:2 IND:1
    Expected (expectedStructure): Root: LVL:0 IND:0##Overview:LABELS LVL:0 IND:1##Label:test LVL:0 IND:2##Label:test5 LVL:0 IND:2##Label:tabcest6 LVL:0 IND:2##Section:sec:test LVL:2 IND:1
    Loc: [tests/structureview_t.cpp(215)]
    FAIL! : StructureViewTest::script(add section2) Compared values are not the same
    Actual (res1.join("##")): Root: LVL:0 IND:0##Overview:?TIQUETTES LVL:0 IND:1##Label:test LVL:0 IND:2##Label:test5 LVL:0 IND:2##Label:tabcest6 LVL:0 IND:2##Section:sec:test LVL:2 IND:1##Section:sec:test LVL:2 IND:1
    Expected (expectedStructure): Root: LVL:0 IND:0##Overview:LABELS LVL:0 IND:1##Label:test LVL:0 IND:2##Label:test5 LVL:0 IND:2##Label:tabcest6 LVL:0 IND:2##Section:sec:test LVL:2 IND:1##Section:sec:test LVL:2 IND:1
    Loc: [tests/structureview_t.cpp(215)]
    FAIL! : StructureViewTest::script(change section) Compared values are not the same
    Actual (res1.join("##")): Root: LVL:0 IND:0##Overview:?TIQUETTES LVL:0 IND:1##Label:test LVL:0 IND:2##Label:test5 LVL:0 IND:2##Label:tabcest6 LVL:0 IND:2##Section:sec:test LVL:2 IND:1##Section:sabcec:test LVL:2 IND:1
    Expected (expectedStructure): Root: LVL:0 IND:0##Overview:LABELS LVL:0 IND:1##Label:test LVL:0 IND:2##Label:test5 LVL:0 IND:2##Label:tabcest6 LVL:0 IND:2##Section:sec:test LVL:2 IND:1##Section:sabcec:test LVL:2 IND:1
    Loc: [tests/structureview_t.cpp(215)]
    FAIL! : StructureViewTest::script(change section2) Compared values are not the same
    Actual (res1.join("##")): Root: LVL:0 IND:0##Overview:?TIQUETTES LVL:0 IND:1##Label:test LVL:0 IND:2##Label:test5 LVL:0 IND:2##Label:tabcest6 LVL:0 IND:2##Section:sec:test LVL:2 IND:1##Section:sabcec:test LVL:3 IND:2
    Expected (expectedStructure): Root: LVL:0 IND:0##Overview:LABELS LVL:0 IND:1##Label:test LVL:0 IND:2##Label:test5 LVL:0 IND:2##Label:tabcest6 LVL:0 IND:2##Section:sec:test LVL:2 IND:1##Section:sabcec:test LVL:3 IND:2
    Loc: [tests/structureview_t.cpp(215)]
    FAIL! : StructureViewTest::script(change section3) Compared values are not the same
    Actual (res1.join("##")): Root: LVL:0 IND:0##Overview:?TIQUETTES LVL:0 IND:1##Label:test LVL:0 IND:2##Label:test5 LVL:0 IND:2##Label:tabcest6 LVL:0 IND:2##Section:sec:test LVL:2 IND:1##Section:sabcec:test LVL:4 IND:2
    Expected (expectedStructure): Root: LVL:0 IND:0##Overview:LABELS LVL:0 IND:1##Label:test LVL:0 IND:2##Label:test5 LVL:0 IND:2##Label:tabcest6 LVL:0 IND:2##Section:sec:test LVL:2 IND:1##Section:sabcec:test LVL:4 IND:2
    Loc: [tests/structureview_t.cpp(215)]
    FAIL! : StructureViewTest::script(change section4) Compared values are not the same
    Actual (res1.join("##")): Root: LVL:0 IND:0##Overview:?TIQUETTES LVL:0 IND:1##Label:test LVL:0 IND:2##Label:test5 LVL:0 IND:2##Label:tabcest6 LVL:0 IND:2##Section:sec:test LVL:2 IND:1##Section:sabcec:test LVL:2 IND:1
    Expected (expectedStructure): Root: LVL:0 IND:0##Overview:LABELS LVL:0 IND:1##Label:test LVL:0 IND:2##Label:test5 LVL:0 IND:2##Label:tabcest6 LVL:0 IND:2##Section:sec:test LVL:2 IND:1##Section:sabcec:test LVL:2 IND:1
    Loc: [tests/structureview_t.cpp(215)]
    RESULT : StructureViewTest::benchmark():"single line text":
    0.10 msecs per iteration (total: 52, iterations: 512)
    RESULT : StructureViewTest::benchmark():"labels1":
    0.18 msecs per iteration (total: 94, iterations: 512)
    RESULT : StructureViewTest::benchmark():"labels2":
    0.15 msecs per iteration (total: 79, iterations: 512)
    RESULT : StructureViewTest::benchmark():"labels3":
    0.14 msecs per iteration (total: 74, iterations: 512)
    RESULT : StructureViewTest::benchmark():"sections":
    0.10 msecs per iteration (total: 53, iterations: 512)
    RESULT : StructureViewTest::benchmark():"sections with many children":
    0.15 msecs per iteration (total: 80, iterations: 512)
    PASS : StructureViewTest::benchmark()
    PASS : StructureViewTest::cleanupTestCase()
    Totals: 3 passed, 14 failed, 0 skipped
    * Finished testing of StructureViewTest *

     
  • Tim Hoffmann
    Tim Hoffmann
    2013-04-11

    This is because Ubuntu (and Debian) have the policy to build debug versions and strip the debug symbols for packages. In the case of TXS the debug version additionally runs a set of tests which you are encountering here.

    We already have implemented a workaround for this (see also https://bugs.launchpad.net/ubuntu/+source/texstudio/+bug/1154261). So you can assume this to be fixed in a future release. Alternatively, you may compile from source using the SVN version and the BUILD.sh script.