Test project /build/texworks/src/build Start 1: test_poppler-qt5 1/7 Test #1: test_poppler-qt5 ................. Passed 8.02 sec Start 2: test_BibTeXFile 2/7 Test #2: test_BibTeXFile .................. Passed 0.25 sec Start 3: test_Scripting 3/7 Test #3: test_Scripting ................... Passed 0.32 sec Start 4: test_LuaScripting 4/7 Test #4: test_LuaScripting ................ Passed 0.24 sec Start 5: test_UI 5/7 Test #5: test_UI .......................... Passed 0.48 sec Start 6: test_Utils 6/7 Test #6: test_Utils ....................... Passed 0.83 sec Start 7: test_Document 7/7 Test #7: test_Document ....................***Failed 1.09 sec QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-builduser' ********* Start testing of UnitTest::TestDocument ********* Config: Using QtTest library 5.15.2, Qt 5.15.2 (riscv64-little_endian-lp64 shared (dynamic) release build; by GCC 11.1.0), arch unknown PASS : UnitTest::TestDocument::initTestCase() PASS : UnitTest::TestDocument::isPDFfile(does-not-exist) PASS : UnitTest::TestDocument::isPDFfile(sync.tex) PASS : UnitTest::TestDocument::isPDFfile(base14-fonts.png) PASS : UnitTest::TestDocument::isPDFfile(base14-fonts.pdf) PASS : UnitTest::TestDocument::isPDFfile(hello-world.ps) PASS : UnitTest::TestDocument::isImageFile(does-not-exist) PASS : UnitTest::TestDocument::isImageFile(sync.tex) PASS : UnitTest::TestDocument::isImageFile(base14-fonts.png) PASS : UnitTest::TestDocument::isPostscriptFile(does-not-exist) PASS : UnitTest::TestDocument::isPostscriptFile(sync.tex) PASS : UnitTest::TestDocument::isPostscriptFile(base14-fonts.png) PASS : UnitTest::TestDocument::isPostscriptFile(base14-fonts.pdf) PASS : UnitTest::TestDocument::isPostscriptFile(hello-world.ps) PASS : UnitTest::TestDocument::fileInfo() PASS : UnitTest::TestDocument::storedInFilesystem() PASS : UnitTest::TestDocument::absoluteFilePath() PASS : UnitTest::TestDocument::tags() PASS : UnitTest::TestDocument::getHighlighter() PASS : UnitTest::TestDocument::modelines() PASS : UnitTest::TestDocument::findNextWord(empty) PASS : UnitTest::TestDocument::findNextWord(beyond-end) PASS : UnitTest::TestDocument::findNextWord(single-char) PASS : UnitTest::TestDocument::findNextWord(white-space) XFAIL : UnitTest::TestDocument::findNextWord(word-with-apostrophe) The apostrophe by itself is not considered part of a word Loc: [/build/texworks/src/texworks-release-0.6.6/unit-tests/Document_test.cpp(340)] PASS : UnitTest::TestDocument::findNextWord(word-with-apostrophe) PASS : UnitTest::TestDocument::findNextWord(backslash) PASS : UnitTest::TestDocument::findNextWord(command) PASS : UnitTest::TestDocument::findNextWord(@) PASS : UnitTest::TestDocument::findNextWord(@-command) PASS : UnitTest::TestDocument::findNextWord(digit) PASS : UnitTest::TestDocument::findNextWord(command-digit) PASS : UnitTest::TestDocument::findNextWord(single-glyph) PASS : UnitTest::TestDocument::findNextWord(command-glyph) PASS : UnitTest::TestDocument::findNextWord(non-ascii) PASS : UnitTest::TestDocument::findNextWord(command-apostrophe) PASS : UnitTest::TestDocument::SpellChecker_getDictionaryList() PASS : UnitTest::TestDocument::SpellChecker_getDictionary() PASS : UnitTest::TestDocument::SpellChecker_ignoreWord() PASS : UnitTest::TestDocument::Synchronizer_isValid() PASS : UnitTest::TestDocument::syncTeXFilename() PASS : UnitTest::TestDocument::pdfFilename() PASS : UnitTest::TestDocument::Synchronizer_syncFromTeX(simple start-of-line (line)) PASS : UnitTest::TestDocument::Synchronizer_syncFromTeX(simple space (line)) PASS : UnitTest::TestDocument::Synchronizer_syncFromTeX(simple end-of-line (line)) PASS : UnitTest::TestDocument::Synchronizer_syncFromTeX(empty-line (line)) PASS : UnitTest::TestDocument::Synchronizer_syncFromTeX(text-command (line)) PASS : UnitTest::TestDocument::Synchronizer_syncFromTeX(long-line (line)) PASS : UnitTest::TestDocument::Synchronizer_syncFromTeX(simple-footnote before (line)) PASS : UnitTest::TestDocument::Synchronizer_syncFromTeX(simple-footnote \footnote (line)) PASS : UnitTest::TestDocument::Synchronizer_syncFromTeX(simple-footnote inside (line)) PASS : UnitTest::TestDocument::Synchronizer_syncFromTeX(complex-footnote before (line)) PASS : UnitTest::TestDocument::Synchronizer_syncFromTeX(complex-footnote \footnote (line)) PASS : UnitTest::TestDocument::Synchronizer_syncFromTeX(complex-footnote inside (line)) PASS : UnitTest::TestDocument::Synchronizer_syncFromTeX(simple-section \section (line)) PASS : UnitTest::TestDocument::Synchronizer_syncFromTeX(simple-section inside (line)) PASS : UnitTest::TestDocument::Synchronizer_syncFromTeX(complex-section \section (line)) PASS : UnitTest::TestDocument::Synchronizer_syncFromTeX(complex-section inside (line)) PASS : UnitTest::TestDocument::Synchronizer_syncFromTeX(simple start-of-line (word)) PASS : UnitTest::TestDocument::Synchronizer_syncFromTeX(simple space (word)) PASS : UnitTest::TestDocument::Synchronizer_syncFromTeX(simple end-of-line (word)) PASS : UnitTest::TestDocument::Synchronizer_syncFromTeX(empty-line (word)) PASS : UnitTest::TestDocument::Synchronizer_syncFromTeX(text-command (word)) PASS : UnitTest::TestDocument::Synchronizer_syncFromTeX(long-line (word)) PASS : UnitTest::TestDocument::Synchronizer_syncFromTeX(simple-footnote before (word)) PASS : UnitTest::TestDocument::Synchronizer_syncFromTeX(simple-footnote \footnote (word)) PASS : UnitTest::TestDocument::Synchronizer_syncFromTeX(simple-footnote inside (word)) FAIL! : UnitTest::TestDocument::Synchronizer_syncFromTeX(complex-footnote before (word)) Compared values are not the same Actual (synchronizer->syncFromTeX(texPoint, resolution)): "PDFSyncPoint(sync.pdf @ 1, (QRectF(133.7683563232421875,666.04266357421875 343.7110595703125x9.5043668746948242188), QRectF(133.7683563232421875,198.3860015869140625 343.7110595703125x10.046796798706054688)) )" Expected (pdfPoint) : "PDFSyncPoint(sync.pdf @ 1, (QRectF(148.71199999999998909,199.58192783999999165 7.4719800000000002882x8.8468243199999996307)) )" Loc: [/build/texworks/src/texworks-release-0.6.6/unit-tests/Document_test.cpp(681)] PASS : UnitTest::TestDocument::Synchronizer_syncFromTeX(complex-footnote \footnote (word)) XFAIL : UnitTest::TestDocument::Synchronizer_syncFromTeX(complex-footnote inside (word)) Complex footnotes don't always work yet Loc: [/build/texworks/src/texworks-release-0.6.6/unit-tests/Document_test.cpp(681)] PASS : UnitTest::TestDocument::Synchronizer_syncFromTeX(complex-footnote inside (word)) PASS : UnitTest::TestDocument::Synchronizer_syncFromTeX(simple-section \section (word)) PASS : UnitTest::TestDocument::Synchronizer_syncFromTeX(simple-section inside (word)) PASS : UnitTest::TestDocument::Synchronizer_syncFromTeX(complex-section \section (word)) PASS : UnitTest::TestDocument::Synchronizer_syncFromTeX(complex-section inside (word)) PASS : UnitTest::TestDocument::Synchronizer_syncFromTeX(simple start-of-line (char)) PASS : UnitTest::TestDocument::Synchronizer_syncFromTeX(simple space (char)) PASS : UnitTest::TestDocument::Synchronizer_syncFromTeX(simple end-of-line (char)) PASS : UnitTest::TestDocument::Synchronizer_syncFromTeX(empty-line (char)) PASS : UnitTest::TestDocument::Synchronizer_syncFromTeX(text-command (char)) PASS : UnitTest::TestDocument::Synchronizer_syncFromTeX(long-line (char)) PASS : UnitTest::TestDocument::Synchronizer_syncFromTeX(simple-footnote before (char)) PASS : UnitTest::TestDocument::Synchronizer_syncFromTeX(simple-footnote \footnote (char)) PASS : UnitTest::TestDocument::Synchronizer_syncFromTeX(simple-footnote inside (char)) FAIL! : UnitTest::TestDocument::Synchronizer_syncFromTeX(complex-footnote before (char)) Compared values are not the same Actual (synchronizer->syncFromTeX(texPoint, resolution)): "PDFSyncPoint(sync.pdf @ 1, (QRectF(133.7683563232421875,666.04266357421875 343.7110595703125x9.5043668746948242188), QRectF(133.7683563232421875,198.3860015869140625 343.7110595703125x10.046796798706054688)) )" Expected (pdfPoint) : "PDFSyncPoint(sync.pdf @ 1, (QRectF(148.71199999999998909,199.58192783999999165 7.4719800000000002882x8.8468243199999996307)) )" Loc: [/build/texworks/src/texworks-release-0.6.6/unit-tests/Document_test.cpp(681)] PASS : UnitTest::TestDocument::Synchronizer_syncFromTeX(complex-footnote \footnote (char)) XFAIL : UnitTest::TestDocument::Synchronizer_syncFromTeX(complex-footnote inside (char)) Complex footnotes don't always work yet Loc: [/build/texworks/src/texworks-release-0.6.6/unit-tests/Document_test.cpp(681)] PASS : UnitTest::TestDocument::Synchronizer_syncFromTeX(complex-footnote inside (char)) PASS : UnitTest::TestDocument::Synchronizer_syncFromTeX(simple-section \section (char)) PASS : UnitTest::TestDocument::Synchronizer_syncFromTeX(simple-section inside (char)) PASS : UnitTest::TestDocument::Synchronizer_syncFromTeX(complex-section \section (char)) PASS : UnitTest::TestDocument::Synchronizer_syncFromTeX(complex-section inside (char)) PASS : UnitTest::TestDocument::Synchronizer_syncFromPDF(top left (line)) PASS : UnitTest::TestDocument::Synchronizer_syncFromPDF(simple start-of-line (line)) PASS : UnitTest::TestDocument::Synchronizer_syncFromPDF(simple space (line)) PASS : UnitTest::TestDocument::Synchronizer_syncFromPDF(simple end-of-line (line)) PASS : UnitTest::TestDocument::Synchronizer_syncFromPDF(text-command (line)) PASS : UnitTest::TestDocument::Synchronizer_syncFromPDF(long-line (line)) PASS : UnitTest::TestDocument::Synchronizer_syncFromPDF(simple-footnote before (line)) PASS : UnitTest::TestDocument::Synchronizer_syncFromPDF(simple-footnote inside (line)) PASS : UnitTest::TestDocument::Synchronizer_syncFromPDF(complex-footnote before (line)) PASS : UnitTest::TestDocument::Synchronizer_syncFromPDF(complex-footnote inside (line)) PASS : UnitTest::TestDocument::Synchronizer_syncFromPDF(simple-section inside (line)) PASS : UnitTest::TestDocument::Synchronizer_syncFromPDF(complex-section inside (line)) PASS : UnitTest::TestDocument::Synchronizer_syncFromPDF(top left (word)) PASS : UnitTest::TestDocument::Synchronizer_syncFromPDF(simple start-of-line (word)) PASS : UnitTest::TestDocument::Synchronizer_syncFromPDF(simple space (word)) PASS : UnitTest::TestDocument::Synchronizer_syncFromPDF(simple end-of-line (word)) PASS : UnitTest::TestDocument::Synchronizer_syncFromPDF(text-command (word)) PASS : UnitTest::TestDocument::Synchronizer_syncFromPDF(long-line (word)) PASS : UnitTest::TestDocument::Synchronizer_syncFromPDF(simple-footnote before (word)) PASS : UnitTest::TestDocument::Synchronizer_syncFromPDF(simple-footnote inside (word)) PASS : UnitTest::TestDocument::Synchronizer_syncFromPDF(complex-footnote before (word)) PASS : UnitTest::TestDocument::Synchronizer_syncFromPDF(complex-footnote inside (word)) PASS : UnitTest::TestDocument::Synchronizer_syncFromPDF(simple-section inside (word)) PASS : UnitTest::TestDocument::Synchronizer_syncFromPDF(complex-section inside (word)) PASS : UnitTest::TestDocument::Synchronizer_syncFromPDF(top left (char)) PASS : UnitTest::TestDocument::Synchronizer_syncFromPDF(simple start-of-line (char)) PASS : UnitTest::TestDocument::Synchronizer_syncFromPDF(simple space (char)) PASS : UnitTest::TestDocument::Synchronizer_syncFromPDF(simple end-of-line (char)) PASS : UnitTest::TestDocument::Synchronizer_syncFromPDF(text-command (char)) PASS : UnitTest::TestDocument::Synchronizer_syncFromPDF(long-line (char)) PASS : UnitTest::TestDocument::Synchronizer_syncFromPDF(simple-footnote before (char)) PASS : UnitTest::TestDocument::Synchronizer_syncFromPDF(simple-footnote inside (char)) PASS : UnitTest::TestDocument::Synchronizer_syncFromPDF(complex-footnote before (char)) PASS : UnitTest::TestDocument::Synchronizer_syncFromPDF(complex-footnote inside (char)) PASS : UnitTest::TestDocument::Synchronizer_syncFromPDF(simple-section inside (char)) PASS : UnitTest::TestDocument::Synchronizer_syncFromPDF(complex-section inside (char)) PASS : UnitTest::TestDocument::cleanupTestCase() Totals: 124 passed, 2 failed, 0 skipped, 0 blacklisted, 874ms ********* Finished testing of UnitTest::TestDocument ********* 86% tests passed, 1 tests failed out of 7 Total Test time (real) = 11.27 sec The following tests FAILED: 7 - test_Document (Failed) Errors while running CTest ==> ERROR: A failure occurred in check().  Aborting...