Summary: | Do something about test/data/*-messages/*.message | ||
---|---|---|---|
Product: | dbus | Reporter: | Simon McVittie <smcv> |
Component: | core | Assignee: | D-Bus Maintainers <dbus> |
Status: | RESOLVED MOVED | QA Contact: | D-Bus Maintainers <dbus> |
Severity: | enhancement | ||
Priority: | medium | ||
Version: | git master | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: |
Remove test data in the "message builder" domain-specific language
Remove test data in the "message builder" domain-specific language |
Description
Simon McVittie
2017-11-15 12:05:11 UTC
Created attachment 135488 [details] [review] Remove test data in the "message builder" domain-specific language These tests were disabled by commit 9c3d566, which rewrote the D-Bus type system to be fully recursive, back in 2005. The message builder was subsequently removed by commit 9d21554, also in early 2005. It will probably take significant work to turn these files into test-cases that use the current D-Bus type system and so can be run this decade. Until that work is done, let's not ship them: we can always fetch them from git history if we want them. The single .message-raw file can still be read and has been retained, although it hasn't actually tested the intended failure mode since 2005 due to changes to the D-Bus specification (it is a wire-protocol version 0 message, and the recursive type system introduced in commit 9c3d566 changed the wire-protocol version to 1). --- This patch is not a solution to this bug and does not implement the suggested test coverage - sorry, I don't have time to implement that right now. It just removes dead/misleading files until this bug can be fixed properly. Created attachment 135489 [details] [review] Remove test data in the "message builder" domain-specific language --- Same long commit message as in the previous attempt. v2: Remove the one reference to *.message from the CMake build system too. Comment on attachment 135488 [details] [review] Remove test data in the "message builder" domain-specific language Review of attachment 135488 [details] [review]: ----------------------------------------------------------------- r+ Comment on attachment 135489 [details] [review] Remove test data in the "message builder" domain-specific language Review of attachment 135489 [details] [review]: ----------------------------------------------------------------- Whoops, that was meant to be r+ on this one. Comment on attachment 135489 [details] [review] Remove test data in the "message builder" domain-specific language Thanks, applied. The bug remains open, until someone gets round to reinstating this pre-2005 test coverage. -- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/dbus/dbus/issues/192. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.