From e665e401dc9aea001cf3eebff04ec3166943372b Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Mon, 22 Mar 2010 02:20:29 +0100 Subject: [PATCH] Use the common template. Make test stricter. --- ChangeLog | 6 ++++-- modules/forkpty-tests | 8 ++++++-- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 4fe67fb90..dd31e8980 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2010-03-21 Bruno Haible + * 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 @@ -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. diff --git a/modules/forkpty-tests b/modules/forkpty-tests index 744d68486..e969fc6ff 100644 --- a/modules/forkpty-tests +++ b/modules/forkpty-tests @@ -1,8 +1,12 @@ Files: -tests/signature.h tests/test-forkpty.c +tests/signature.h + +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@ -- 2.11.0