Fix testsuite on cygwin.
authorEric Blake <ebb9@byu.net>
Sat, 29 Sep 2007 14:56:50 +0000 (08:56 -0600)
committerJim Meyering <jim@meyering.net>
Sun, 30 Sep 2007 07:40:26 +0000 (09:40 +0200)
* check.mk (%.log): Also allow suffix-less tests, on platforms
where $(EXEEXT) is not empty.

Signed-off-by: Eric Blake <ebb9@byu.net>
build-aux/ChangeLog
build-aux/check.mk

index 37f70fe..704f6ba 100644 (file)
@@ -1,3 +1,8 @@
+2007-09-29  Eric Blake  <ebb9@byu.net>
+
+       * check.mk (%.log): Also allow suffix-less tests, on platforms
+       where $(EXEEXT) is not empty.
+
 2007-09-15  Jim Meyering  <jim@meyering.net>
 
        * vc-list-files: Remove mercurial support.
index 2f44ec7..2a00aa2 100644 (file)
@@ -97,6 +97,10 @@ rm $@-t
 %.log: %$(EXEEXT)
        @$(am__check_pre) $${dir}$< $(am__check_post)
 
+# The exact same commands, but for scripts without extension.
+%.log: %
+       @$(am__check_pre) $${dir}$< $(am__check_post)
+
 TEST_LOGS ?= $(TESTS:.test=.log)
 TEST_SUITE_LOG = test-suite.log