From a9dd9447b5e4a165efc96444bb1b44cc70ddc026 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sat, 8 Oct 2011 16:36:22 +0200 Subject: [PATCH] Tests: Avoid link failures w.r.t. libintl. * modules/faccessat-tests (Makefile.am): Link test-faccessat against $(LIBINTL). * modules/fchdir-tests (Makefile.am): Link test-fchdir against $(LIBINTL). * modules/getcwd-lgpl-tests (Makefile.am): Link test-getcwd-lgpl against $(LIBINTL). * modules/getcwd-tests (Makefile.am): Link test-getcwd against $(LIBINTL). * modules/openat-tests (Makefile.am): Link test-fchmodat against $(LIBINTL). * modules/stat-tests (Makefile.am): Link test-stat against $(LIBINTL). --- ChangeLog | 15 +++++++++++++++ modules/faccessat-tests | 2 +- modules/fchdir-tests | 1 + modules/getcwd-lgpl-tests | 1 + modules/getcwd-tests | 1 + modules/openat-tests | 1 + modules/stat-tests | 1 + 7 files changed, 21 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 942ee760e..ce4e57a21 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,20 @@ 2011-10-08 Bruno Haible + Tests: Avoid link failures w.r.t. libintl. + * modules/faccessat-tests (Makefile.am): Link test-faccessat against + $(LIBINTL). + * modules/fchdir-tests (Makefile.am): Link test-fchdir against + $(LIBINTL). + * modules/getcwd-lgpl-tests (Makefile.am): Link test-getcwd-lgpl + against $(LIBINTL). + * modules/getcwd-tests (Makefile.am): Link test-getcwd against + $(LIBINTL). + * modules/openat-tests (Makefile.am): Link test-fchmodat against + $(LIBINTL). + * modules/stat-tests (Makefile.am): Link test-stat against $(LIBINTL). + +2011-10-08 Bruno Haible + pow tests: Defeat compiler optimizations. * tests/test-pow.c (main): Assign arguments to x and y before use. diff --git a/modules/faccessat-tests b/modules/faccessat-tests index 173b04c5a..144e0968c 100644 --- a/modules/faccessat-tests +++ b/modules/faccessat-tests @@ -11,4 +11,4 @@ configure.ac: Makefile.am: TESTS += test-faccessat check_PROGRAMS += test-faccessat -test_faccessat_LDADD = $(LDADD) $(LIB_EACCESS) +test_faccessat_LDADD = $(LDADD) $(LIB_EACCESS) @LIBINTL@ diff --git a/modules/fchdir-tests b/modules/fchdir-tests index 8f82dcee4..89ddf713a 100644 --- a/modules/fchdir-tests +++ b/modules/fchdir-tests @@ -12,3 +12,4 @@ configure.ac: Makefile.am: TESTS += test-fchdir check_PROGRAMS += test-fchdir +test_fchdir_LDADD = $(LDADD) $(LIBINTL) diff --git a/modules/getcwd-lgpl-tests b/modules/getcwd-lgpl-tests index 07fdf73d5..3fc489866 100644 --- a/modules/getcwd-lgpl-tests +++ b/modules/getcwd-lgpl-tests @@ -10,3 +10,4 @@ configure.ac: Makefile.am: TESTS += test-getcwd-lgpl check_PROGRAMS += test-getcwd-lgpl +test_getcwd_lgpl_LDADD = $(LDADD) $(LIBINTL) diff --git a/modules/getcwd-tests b/modules/getcwd-tests index 34cc5acf6..59710ee95 100644 --- a/modules/getcwd-tests +++ b/modules/getcwd-tests @@ -13,3 +13,4 @@ configure.ac: Makefile.am: TESTS += test-getcwd check_PROGRAMS += test-getcwd +test_getcwd_LDADD = $(LDADD) @LIBINTL@ diff --git a/modules/openat-tests b/modules/openat-tests index da00b983f..023a54360 100644 --- a/modules/openat-tests +++ b/modules/openat-tests @@ -36,6 +36,7 @@ TESTS += \ check_PROGRAMS += \ test-fchmodat test-fchownat test-fstatat test-mkdirat test-openat \ test-unlinkat +test_fchmodat_LDADD = $(LDADD) @LIBINTL@ test_fchownat_LDADD = $(LDADD) @LIBINTL@ test_fstatat_LDADD = $(LDADD) @LIBINTL@ test_mkdirat_LDADD = $(LDADD) @LIBINTL@ diff --git a/modules/stat-tests b/modules/stat-tests index 9c00ce54d..60ecc174a 100644 --- a/modules/stat-tests +++ b/modules/stat-tests @@ -15,3 +15,4 @@ configure.ac: Makefile.am: TESTS += test-stat check_PROGRAMS += test-stat +test_stat_LDADD = $(LDADD) $(LIBINTL) -- 2.11.0