How about this?

Index: ChangeLog
===================================================================
RCS file: /sources/gnulib/gnulib/ChangeLog,v
retrieving revision 1.478
diff -u -p -r1.478 ChangeLog
--- ChangeLog   19 Jan 2006 09:05:56 -0000      1.478
+++ ChangeLog   19 Jan 2006 13:11:35 -0000
@@ -1,5 +1,8 @@
 2006-01-19  Simon Josefsson  <[EMAIL PROTECTED]>
 
+       * modules/lock-tests, modules/tls-tests: Use check_PROGRAMS
+       instead of noinst_PROGRAMS to be able to remove test_*_SOURCES.
+
        * gnulib-tool: Set check_PROGRAMS.
 
        * modules/arcfour-tests, modules/arctwo-tests, modules/crc-tests,
Index: modules/lock-tests
===================================================================
RCS file: /sources/gnulib/gnulib/modules/lock-tests,v
retrieving revision 1.1
diff -u -p -r1.1 lock-tests
--- modules/lock-tests  25 Aug 2005 12:36:58 -0000      1.1
+++ modules/lock-tests  19 Jan 2006 13:11:35 -0000
@@ -13,8 +13,7 @@ fi
 AC_SUBST([LIBSCHED])
 
 Makefile.am:
-TESTS += test-lock
-noinst_PROGRAMS += test-lock
-test_lock_SOURCES = test-lock.c
+TESTS += test-lock$(EXEEXT)
+check_PROGRAMS += test-lock
 test_lock_LDADD = @LIBMULTITHREAD@ @LIBSCHED@ $(LDADD)
 
Index: modules/tls-tests
===================================================================
RCS file: /sources/gnulib/gnulib/modules/tls-tests,v
retrieving revision 1.1
diff -u -p -r1.1 tls-tests
--- modules/tls-tests   25 Aug 2005 12:40:25 -0000      1.1
+++ modules/tls-tests   19 Jan 2006 13:11:35 -0000
@@ -13,8 +13,7 @@ fi
 AC_SUBST([LIBSCHED])
 
 Makefile.am:
-TESTS += test-tls
-noinst_PROGRAMS += test-tls
-test_tls_SOURCES = test-tls.c
+TESTS += test-tls$(EXEEXT)
+check_PROGRAMS += test-tls
 test_tls_LDADD = @LIBMULTITHREAD@ @LIBSCHED@ $(LDADD)
 


_______________________________________________
bug-gnulib mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-gnulib

Reply via email to