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

            Bug ID: 389762
           Summary: keditfiletype/tests/filetypestest.cpp fails due to
                    QMimeDatabase failing with <glob-deleteall/>?
           Product: kde-cli-tools
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

Hi David,

I hope on your input on the effort to try to fix the failing unit test
filetypestest from kde-cli-tools. It fails both on CI (in all logged history)
and locally for me.

Do you perhaps have some more insight into this and can tell if there are any
known deficits, so the tests could at least be tagged EXPECTFAIL with a link to
a related bug, or if there is some issue/regression somewhere which should be
filed as bug?

>From what I investigated so far, it seems that QMimeDatabase somehow now fails
to update to the changed shared-mime-info db when it comes to removing globs.
>From what I saw is that MimeTypeWriter::runUpdateMimeDatabase(); writes the
expected files via update-mime-database, those look good to me. But somehow
QMimeDatabase seems to ignore <glob-deleteall/> (or NOGLOBS in the binary
cache)?

Given this is all your code, do you happen to already have poked the Qt side of
things? I could not find anything related on bugreports.qt.io, but you might
know?

Cmp. failing test:
https://build.kde.org/view/Plasma/job/Plasma%20kde-cli-tools%20stable-kf5-qt5%20SUSEQt5.9/9/testReport/(root)/TestSuite/filetypestest/

Code is:
https://cgit.kde.org/kde-cli-tools.git/tree/keditfiletype/tests/filetypestest.cpp#n140

Cheers
Friedrich

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to