schmidmt / shunit2

Automatically exported from code.google.com/p/shunit2
1 stars 0 forks source link

Slight issue with your Makefile. #21

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. cd shunit2-2.1.5
2. make test

What is the expected output? What do you see instead?
Expected to see tests being run.
Saw:
make: *** No rule to make target `@echo', needed by `test'.  Stop.

What version of the product are you using? On what operating system?
2.1.5 on Cygwin.

Please provide any additional information below.
This should fix it:
--- Makefile.orig       2008-07-04 13:47:58.000000000 +0100
+++ Makefile    2010-03-30 10:23:59.189518300 +0100
@@ -70,7 +70,8 @@
          $(BIN_DIR)/docbookPrep.sh "$(DOCBOOK_SHARE_DIR)"; \
        fi

-test: @echo "executing $(PROG) unit tests"
+test:
+       @echo "executing $(PROG) unit tests"
        ( cd $(TEST_SRC_DIR); ./shunit2_test.sh )

 dist: dist-clean build docs

Original issue reported on code.google.com by GavinBra...@gmail.com on 30 Mar 2010 at 9:26

GoogleCodeExporter commented 9 years ago
I've removed all references to the DocBook documentation as it was too hard to 
maintain. The Makefile went with 
them as it really wasn't needed anymore either.

Fixed in r286

Original comment by kate.war...@gtempaccount.com on 3 May 2010 at 10:23