]> granicus.if.org Git - gc/commitdiff
Fix 'overriding commands for target check-without-...' Makefile warnings
authorIvan Maidanski <ivmai@mail.ru>
Fri, 3 Mar 2017 14:53:10 +0000 (17:53 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Fri, 3 Mar 2017 14:53:10 +0000 (17:53 +0300)
(fix commit 8f20303)

Makefile.am includes cord.am and tests.am, so check-without-test-driver
should be defined only at one place.

* cord/cord.am (check-without-test-driver): Remove.
* tests/tests.am (check-without-test-driver): Add ./cordtest$(EXEEXT)
execution.

cord/cord.am
tests/tests.am

index 4ac2da8d2636a2d2093334aad16492d33a5bf5aa..b8794c29538fa23b00ad6e3a764a5d41e6d4296d 100644 (file)
@@ -32,8 +32,3 @@ pkginclude_HEADERS += \
         include/cord.h \
         include/cord_pos.h \
         include/ec.h
-
-# Run the tests directly (without test-driver):
-.PHONY: check-without-test-driver
-check-without-test-driver: $(TESTS)
-       ./cordtest$(EXEEXT)
index af581a7c8caadd879604f0fd95fc37df8c6eec44..90fbfe0e6a22e272ee82c7b361cf6e23f39b65d2 100644 (file)
@@ -139,3 +139,4 @@ check-without-test-driver: $(TESTS)
        test ! -f subthreadcreate_test$(EXEEXT) || ./subthreadcreate_test$(EXEEXT)
        test ! -f test_cpp$(EXEEXT) || ./test_cpp$(EXEEXT)
        test ! -f tracetest$(EXEEXT) || ./tracetest$(EXEEXT)
+       ./cordtest$(EXEEXT)