Summary: | Testcase KTranscriptTest::initTestCase only succeeds when ktranscript.so is already installed below $PREFIX | ||
---|---|---|---|
Product: | [Frameworks and Libraries] frameworks-ki18n | Reporter: | Achim Bohnet <ach> |
Component: | general | Assignee: | kdelibs bugs <kdelibs-bugs> |
Status: | VERIFIED FIXED | ||
Severity: | normal | CC: | agateau, sgmoore, sitter |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/ki18n/a61ed9a6e9751983de41c5f00fa057180a78ef6d | Version Fixed In: | |
Sentry Crash Report: |
Description
Achim Bohnet
2014-01-15 14:05:28 UTC
confirmed in a neon5 envrionment
debug output in ktransscripttest.cpp for:
> Q_FOREACH (const QString &dirPath, QCoreApplication::libraryPaths()) {
> qDebug() << dirPath;
2: Test command: /home/me/src/git/k/ki18n/nb/autotests/ktranscripttest
2: Test timeout computed to be: 9.99988e+06
2: ********* Start testing of KTranscriptTest *********
2: Config: Using QtTest library 5.2.1, Qt 5.2.1
2: QDEBUG : KTranscriptTest::initTestCase() ktranscripttest(23853)/default findKTranscriptPlugin: "/opt/project-neon5/plugins"
2: QDEBUG : KTranscriptTest::initTestCase() ktranscripttest(23853)/default findKTranscriptPlugin: "/home/me/src/git/k/ki18n/nb/autotests"
2: QDEBUG : KTranscriptTest::initTestCase() ktranscripttest(23853)/default findKTranscriptPlugin: "/opt/project-neon5/lib/x86_64-linux-gnu/plugins"
2: QDEBUG : KTranscriptTest::initTestCase() ktranscripttest(23853)/default findKTranscriptPlugin: "/usr/lib/kde4/plugins"
2: FAIL! : KTranscriptTest::initTestCase() '!pluginPath.isEmpty()' returned FALSE. ()
2: Loc: [/home/me/src/git/k/ki18n/autotests/ktranscripttest.cpp(60)]
2: PASS : KTranscriptTest::cleanupTestCase()
2: Totals: 1 passed, 1 failed, 0 skipped
2: ********* Finished testing of KTranscriptTest *********
2/2 Test #2: ki18n-ktranscripttest ............***Failed 0.01 sec
Proposed fix here: https://git.reviewboard.kde.org/r/115049/ Git commit a61ed9a6e9751983de41c5f00fa057180a78ef6d by Aurélien Gâteau. Committed on 16/01/2014 at 12:56. Pushed by gateau into branch 'master'. Do not require ktranscript to be installed for the test to run REVIEW: 115022 M +4 -0 autotests/CMakeLists.txt M +2 -18 autotests/ktranscripttest.cpp http://commits.kde.org/ki18n/a61ed9a6e9751983de41c5f00fa057180a78ef6d |