fsync test: Avoid test failure on MacOS X and AIX.
[pspp] / modules / xprintf-posix-tests
index b81932b6b4db64d0887d78efd9120cf509ca6616..7882b43e1b7e6caca17723560c65f8f2441fe25f 100644 (file)
@@ -5,6 +5,7 @@ tests/test-xprintf-posix.c
 tests/test-fprintf-posix.h
 tests/test-printf-posix.h
 tests/test-printf-posix.output
+tests/macros.h
 
 Depends-on:
 stdint
@@ -14,5 +15,6 @@ configure.ac:
 
 Makefile.am:
 TESTS += test-xprintf-posix.sh
-TESTS_ENVIRONMENT += EXEEXT='@EXEEXT@' srcdir='$(srcdir)'
 check_PROGRAMS += test-xfprintf-posix test-xprintf-posix
+test_xfprintf_posix_LDADD = $(LDADD) @LIBINTL@
+test_xprintf_posix_LDADD = $(LDADD) @LIBINTL@