Textstudio 구조 보기 테스트에 실패했습니다!

Textstudio 구조 보기 테스트에 실패했습니다!

TexStudio를 설치한 후 다음 오류가 발생합니다. 이 문제는 TexStudio 2.3(Ubuntu 13.04 repo)과 2.5.2(ppa:blahota/texstudio)에서 발생합니다. TexStudio 버그 보고서를 제출하기 전에 누군가가 그것이 TexStudio와 관련된 것인지 아니면 다른 것과 관련된 것인지 알 수 있는지 묻고 싶었습니다.

********* 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 *********

답변1

이는 Ubuntu(및 Debian)에는 디버그 버전을 빌드하고 패키지의 디버그 기호를 제거하는 정책이 있기 때문입니다. TXS의 경우 디버그 버전은 여기서 볼 수 있는 일련의 테스트를 추가로 실행합니다.

우리는 이미 이에 대한 해결 방법을 구현했습니다.https://bugs.launchpad.net/ubuntu/+source/texstudio/+bug/1154261). 따라서 이 문제는 향후 릴리스에서 수정될 것이라고 가정할 수 있습니다. 또는 이 문제를 직접 수정하려면 SVN 버전 및 BUILD.sh 스크립트를 사용하여 소스에서 컴파일할 수 있습니다.

관련 정보