[PATCH 6/6] Test: Ensure libxservertest gets relinked when necessary

Dan Nicholson dbn.lists at gmail.com
Wed Jun 22 10:35:42 PDT 2011


On Wed, Jun 22, 2011 at 2:17 AM, Daniel Stone <daniel at fooishbar.org> wrote:
> Similar to how we link Xorg, make sure that whenever any of the
> component libraries changes, we relink libxservertest and the tests.
> Not much use testing anything other than the actual source in your tree.
>
> Signed-off-by: Daniel Stone <daniel at fooishbar.org>
> ---
>  test/Makefile.am |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/test/Makefile.am b/test/Makefile.am
> index 5574e7d..24218db 100644
> --- a/test/Makefile.am
> +++ b/test/Makefile.am
> @@ -37,6 +37,7 @@ libxservertest_la_LIBADD = \
>             $(top_builddir)/mi/libmi.la \
>             $(top_builddir)/os/libos.la \
>             @XORG_LIBS@
> +libxservertest_la_DEPENDENCIES = $(libxservertest_la_LIBADD)
>  endif
>  endif
>

I think that's right.

Reviewed-by: Dan Nicholson <dbn.lists at gmail.com>


More information about the xorg-devel mailing list