Bug 406344 - appstreamtest fails
Summary: appstreamtest fails
Status: RESOLVED FIXED
Alias: None
Product: libalkimia
Classification: Frameworks and Libraries
Component: General (show other bugs)
Version: master
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KMyMoney Devel Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-04-08 20:54 UTC by Ralf Habacker
Modified: 2022-03-17 08:18 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ralf Habacker 2019-04-08 20:54:31 UTC
With Qt5 build from git master the embedded tests fails.

STEPS TO REPRODUCE
1. build alkimia from git master branch for qt5
2. run 'make test'

OBSERVED RESULT
1: Test command: /usr/bin/cmake "-DAPPSTREAMCLI=/usr/bin/appstreamcli" 
"-DINSTALL_FILES=/home/xxx/src/alkimia-5-build/install_manifest.txt" "-P" "/usr/share/ECM/kde-modules/appstreamtest.cmake"
1: Test timeout computed to be: 10000000
1: CMake Error at /usr/share/ECM/kde-modules/appstreamtest.cmake:32 (message):
1:   File '/usr/local/share/metainfo/org.kde.foreigncurrencies2.appdata.xml'
1:   does not exist.
1:   Validation failed:
1/8 Test #1: appstreamtest ....................***Failed    0.02 sec

EXPECTED RESULT
The test should not fail

SOFTWARE/OS VERSIONS
Linux: openSUSE_Leap_42.3
Qt Version: 5.12.2
extra-cmake-modules: 5.56.0

ADDITIONAL INFORMATION
It looks that appstreamtest unfortunally requires an installed alkimia
Comment 1 Jack 2022-03-14 20:03:54 UTC
Almost three years later - is this still a problem?
Comment 2 Ralf Habacker 2022-03-17 08:18:45 UTC
> Almost three years later - is this still a problem?

has been fixed, see below:

Running tests...
Test project /home/ralf.habacker/src/alkimia-qt5-build
    Start 1: appstreamtest
1/8 Test #1: appstreamtest ....................   Passed    0.01 sec