From: Ivan Maidanski Date: Fri, 3 Mar 2017 14:53:10 +0000 (+0300) Subject: Fix 'overriding commands for target check-without-...' Makefile warnings X-Git-Tag: v8.0.0~890 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ac44329e6507b5ffe247c1c452740e73d1e2483c;p=gc Fix 'overriding commands for target check-without-...' Makefile warnings (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. --- diff --git a/cord/cord.am b/cord/cord.am index 4ac2da8d..b8794c29 100644 --- a/cord/cord.am +++ b/cord/cord.am @@ -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) diff --git a/tests/tests.am b/tests/tests.am index af581a7c..90fbfe0e 100644 --- a/tests/tests.am +++ b/tests/tests.am @@ -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)