Whitespace cleanup of all Makefiles*
- some of the %.clean rules in the test-suite Makefiles were using a single tab as an empty rule, dangerous! I've replaced these with the safer '@exit 0'.
This commit is contained in:
parent
7cd9063b52
commit
d5b765d388
33 changed files with 138 additions and 167 deletions
|
|
@ -29,13 +29,13 @@ CPP_ERROR_TEST_CASES := $(filter cpp_%, $(ALL_ERROR_TEST_CASES))
|
|||
C_ERROR_TEST_CASES := $(filter-out $(CPP_ERROR_TEST_CASES), $(ALL_ERROR_TEST_CASES))
|
||||
|
||||
ERROR_TEST_CASES := $(CPP_ERROR_TEST_CASES:=.cpptest) \
|
||||
$(C_ERROR_TEST_CASES:=.ctest)
|
||||
$(C_ERROR_TEST_CASES:=.ctest)
|
||||
|
||||
include $(srcdir)/../common.mk
|
||||
|
||||
|
||||
# Rules for the different types of tests
|
||||
%.cpptest:
|
||||
%.cpptest:
|
||||
echo "$(ACTION)ing errors testcase $*"
|
||||
-$(SWIG) -c++ -python -Wall -Fstandard $(SWIGOPT) $*.i 2>&1 | $(TODOS) > $*.$(ERROR_EXT)
|
||||
$(COMPILETOOL) diff -c $*.stderr $*.$(ERROR_EXT)
|
||||
|
|
@ -46,9 +46,8 @@ include $(srcdir)/../common.mk
|
|||
$(COMPILETOOL) diff -c $*.stderr $*.$(ERROR_EXT)
|
||||
|
||||
%.clean:
|
||||
|
||||
@exit 0
|
||||
|
||||
clean:
|
||||
$(MAKE) -f $(top_builddir)/$(EXAMPLES)/Makefile $(LANGUAGE)_clean
|
||||
@rm -f *.$(ERROR_EXT) *.py
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue