changeset 13039:a5feaf571140

Use the common template. Make test stricter.
author Bruno Haible <bruno@clisp.org>
date Mon, 22 Mar 2010 02:20:29 +0100
parents 741d969cc3bf
children 320f40c27bf5
files ChangeLog modules/forkpty-tests
diffstat 2 files changed, 10 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2010-03-21  Bruno Haible  <bruno@clisp.org>
 
+	* modules/forkpty-tests: Use the common TEMPLATE-TESTS.
+	(Makefile.am): Verify that PTY_LIB is defined.
+
 	* modules/openpty-tests: Use the common TEMPLATE-TESTS.
 
 2010-03-21  Bruno Haible  <bruno@clisp.org>
@@ -32,8 +35,7 @@
 	Tests for openpty: Make stricter.
 	* tests/test-openpty.c (main): Add test of canonical processing and
 	erase.
-	* modules/openpty-tests (test_openpty_LDADD): Verify that PTY_LIB is
-	defined.
+	* modules/openpty-tests (Makefile.am): Verify that PTY_LIB is defined.
 
 	openpty: Provide replacement on AIX, HP-UX, IRIX, Solaris.
 	* lib/openpty.c (openpty): New replacement function.
--- a/modules/forkpty-tests
+++ b/modules/forkpty-tests
@@ -1,8 +1,12 @@
 Files:
+tests/test-forkpty.c
 tests/signature.h
-tests/test-forkpty.c
+
+Depends-on:
+
+configure.ac:
 
 Makefile.am:
 TESTS += test-forkpty
 check_PROGRAMS += test-forkpty
-test_forkpty_LDADD = $(LDADD) $(PTY_LIB)
+test_forkpty_LDADD = $(LDADD) @PTY_LIB@