[Patch] Cross plattform usable test files

Ralf Habacker ralf.habacker at freenet.de
Sun Apr 11 02:18:21 PDT 2010


Ralf Habacker schrieb:
> Hi,
>
> recent test configuration files contains 'unix:...' bus adresses which 
> do not work on windows.
>
> The appended patch fixes this issue for cmake (and contains a minor 
> fix not to break autotools buildsystem).
Some additional test configuration files contains also hardcoded unix 
only listen statements, for which the appended patch includes a quick hack.
A better implementation would be possible when autotools would define 
the listen tag entry in the buildsystem.

There are some unix listen statements I guess defined only for syntax 
check:

<listen>unix:path=/foo/bar</listen>
<listen>unix:path=/foo/&lt;bar&gt;</listen>

which do not need to be converted.

Additional sometime there is unix:path=<dir> and sometime 
unix:tmpdir=<dir> used. I do not know yet if these definitions could be 
reaplced by TEST_LISTEN or if there are reasons that require to have 
both addresses still present. In that case an additional definition for 
the tmpdir case is required.

> Regards
> Ralf

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0003-Removed-all-unix-related-listen-statements-in-test.patch
URL: <http://lists.freedesktop.org/archives/dbus/attachments/20100411/850b9227/attachment.ksh>


More information about the dbus mailing list