From: Mathias Hasselmann Date: Thu, 6 Dec 2012 12:19:30 +0000 (+0100) Subject: tests: Use absolute paths for SRCDIR X-Git-Tag: upstream/3.7.4~150 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f58cb9ad89f21a32de87352e9c6342b80b700900;p=platform%2Fupstream%2Fevolution-data-server.git tests: Use absolute paths for SRCDIR That way a few tests can be run from top_builddir, instead of their builddir. --- diff --git a/tests/libebook/Makefile.am b/tests/libebook/Makefile.am index d40c2de..48d8b6c 100644 --- a/tests/libebook/Makefile.am +++ b/tests/libebook/Makefile.am @@ -13,7 +13,7 @@ libebook_test_utils_la_CPPFLAGS = \ -I$(top_builddir) \ -I$(top_srcdir)/addressbook \ -I$(top_builddir)/addressbook \ - -DSRCDIR=\""$(srcdir)"\" \ + -DSRCDIR=\""$(abs_srcdir)"\" \ $(EVOLUTION_ADDRESSBOOK_CFLAGS) \ $(CAMEL_CFLAGS) \ $(NULL) diff --git a/tests/libebook/client/Makefile.am b/tests/libebook/client/Makefile.am index e47fbdb..a7568fa 100644 --- a/tests/libebook/client/Makefile.am +++ b/tests/libebook/client/Makefile.am @@ -8,7 +8,7 @@ libclient_test_utils_la_CPPFLAGS = \ -I$(top_builddir) \ -I$(top_srcdir)/addressbook \ -I$(top_builddir)/addressbook \ - -DSRCDIR=\""$(srcdir)"\" \ + -DSRCDIR=\""$(abs_srcdir)"\" \ $(EVOLUTION_ADDRESSBOOK_CFLAGS) \ $(CAMEL_CFLAGS) \ $(NULL) diff --git a/tests/libecal/client/Makefile.am b/tests/libecal/client/Makefile.am index a3f986b..1fa8ddc 100644 --- a/tests/libecal/client/Makefile.am +++ b/tests/libecal/client/Makefile.am @@ -8,7 +8,7 @@ libclient_test_utils_la_CPPFLAGS = \ -I$(top_builddir) \ -I$(top_srcdir)/calendar \ -I$(top_builddir)/calendar \ - -DSRCDIR=\""$(srcdir)"\" \ + -DSRCDIR=\""$(abs_srcdir)"\" \ $(EVOLUTION_CALENDAR_CFLAGS) \ $(CAMEL_CFLAGS) \ $(NULL)