[kde-doc-english] [frameworks-kdoctools] [Bug 339299] New: meinproc test using data from install rather than build dir

Harald Sitter sitter at kde.org
Mon Sep 22 13:47:59 UTC 2014


https://bugs.kde.org/show_bug.cgi?id=339299

            Bug ID: 339299
           Summary: meinproc test using data from install rather than
                    build dir
           Product: frameworks-kdoctools
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: kde-doc-english at kde.org
          Reporter: sitter at kde.org
                CC: kdelibs-bugs at kde.org

the test should try to find the xsl from the build dir, not the installed path.
otherwise it would be testing against the installed version, rather than the
to-be-installed one.

side effect is that if the test is run before the initial install the xsl
lookup will fail entirely (which is also a problem as far as clean distribution
package builds are concerned as they wouldn't ever have a previous install to
test against):

/usr/bin/ctest --force-new-ctest-process -j4
Test project /build/buildd/kdoctools-5.2.0+git20140922.1336/obj-i686-linux-gnu
    Start 1: meinproc_template
1/1 Test #1: meinproc_template ................***Failed    0.01 sec
Could not locate file "kf5/kdoctools/customization" in
("/home/buildd/.local/share", "/usr/local/share", "/usr/share")
Could not locate file "kf5/kdoctools/customization/kde-chunk.xsl" in
("/home/buildd/.local/share", "/usr/local/share", "/usr/share")
Error: Unable to find the stylesheet named "customization/kde-chunk.xsl" in dtd
resources

Reproducible: Always

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the kde-doc-english mailing list