Re: [Evolution-hackers] "make check" failing in the e-d-s gnome-2-32

On Tue, 2011-06-07 at 08:55 -0500, Matthew Barnes wrote:
> In order to fix the tests properly under the current API, the test
> harness would need to override the XDG_DATA_HOME environment variable to
> point to some directory in /tmp/ebook-test-XXXXXX before running the
> tests.  The file backend would then fill in the rest of the directory
> structure using XDG_DATA_HOME as the base:
>     /tmp/ebook-test-XXXXXX/evolution/addressbook/${ESOURCE_UID}


An environment variable can be set easily, for all tests, and maybe for
individual tests, like so in addressbook/tests/ebook/

+test_dir_base = "/tmp/ebook-test-yadda/"
+       XDG_DATA_HOME=${test_dir_base}

However, the necessary value for XXXXXX can only be known after the test
has started, right?

murrayc murrayc com

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]