Re: [Evolution-hackers] "make check" failing in the e-d-s gnome-2-32
- From: Murray Cumming <murrayc murrayc com>
- To: Matthew Barnes <mbarnes redhat com>
- Cc: Tristan Van Berkom <tristanvb openismus com>, evolution-hackers gnome org
- Subject: Re: [Evolution-hackers] "make check" failing in the e-d-s gnome-2-32
- Date: Wed, 08 Jun 2011 10:10:06 +0200
On Tue, 2011-06-07 at 08:55 -0500, Matthew Barnes wrote:
[snip]
> 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}
Thanks.
An environment variable can be set easily, for all tests, and maybe for
individual tests, like so in addressbook/tests/ebook/Makefile.am:
+test_dir_base = "/tmp/ebook-test-yadda/"
+TESTS_ENVIRONMENT = \
+ 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
www.murrayc.com
www.openismus.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]