Bug 406344

Summary: appstreamtest fails
Product: [Frameworks and Libraries] libalkimia Reporter: Ralf Habacker <ralf.habacker>
Component: GeneralAssignee: KMyMoney Devel Mailing List <kmymoney-devel>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: master   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:

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