bug-gnulib
[Top][All Lists]
Advanced

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

[PATCH] localcharset: Use an absolute path in TESTS_ENVIRONMENT


From: Ludovic Courtès
Subject: [PATCH] localcharset: Use an absolute path in TESTS_ENVIRONMENT
Date: Thu, 15 Dec 2011 01:13:48 +0100
User-agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.90 (gnu/linux)

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?= <address@hidden>
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  <address@hidden>  (tiny change)
+
+       * modules/localcharset (LOCALCHARSET_TESTS_ENVIRONMENT): Use
+       $(abs_top_srcdir) instead of $(top_srcdir).
+
 2011-12-14  Alex Nelson  <address@hidden>  (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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]