Hello, This patch allows running unit tests that are in a subdirectory from another directory.
OK to apply? Thanks, Ludo’.
>From b8bbedfbc22cbe0c0500a6bef5166d0c1d76b779 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= <l...@gnu.org> Date: Thu, 15 Dec 2011 01:10:48 +0100 Subject: [PATCH] localcharset: Use an absolute path in TESTS_ENVIRONMENT. --- ChangeLog | 5 +++++ modules/localcharset | 2 +- 2 files changed, 6 insertions(+), 1 deletions(-) diff --git a/ChangeLog b/ChangeLog index 262eeaf..abd13b8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2011-12-15 Ludovic Courtès <l...@gnu.org> (tiny change) + + * modules/localcharset (LOCALCHARSET_TESTS_ENVIRONMENT): Use + $(abs_top_srcdir) instead of $(top_srcdir). + 2011-12-14 Alex Nelson <ajnel...@cs.ucsc.edu> (tiny change) strftime-tests: also test nanoseconds diff --git a/modules/localcharset b/modules/localcharset index e07061a..8d01706 100644 --- a/modules/localcharset +++ b/modules/localcharset @@ -24,7 +24,7 @@ extensions configure.ac: gl_LOCALCHARSET -LOCALCHARSET_TESTS_ENVIRONMENT="CHARSETALIASDIR=\"\$(top_builddir)/$gl_source_base\"" +LOCALCHARSET_TESTS_ENVIRONMENT="CHARSETALIASDIR=\"\$(abs_top_builddir)/$gl_source_base\"" AC_SUBST([LOCALCHARSET_TESTS_ENVIRONMENT]) Makefile.am: -- 1.7.6