Errors tests more visibly show failures as the output of diff

diff -u would be better, but it is not posix, so diff -e is chosen as
second best choice.
This commit is contained in:
William S Fulton 2014-02-08 21:41:44 +00:00
commit 60501fe077

View file

@ -35,12 +35,12 @@ include $(srcdir)/../common.mk
%.cpptest:
echo "$(ACTION)ing errors testcase $*"
-$(SWIG) -c++ -python -Wall $(SWIGOPT) $*.i 2> $*.$(ERROR_EXT)
$(COMPILETOOL) diff $*.stderr $*.newerr
$(COMPILETOOL) diff -c $*.stderr $*.newerr
%.ctest:
echo "$(ACTION)ing errors testcase $*"
-$(SWIG) -python -Wall $(SWIGOPT) $*.i 2> $*.$(ERROR_EXT)
$(COMPILETOOL) diff $*.stderr $*.newerr
$(COMPILETOOL) diff -c $*.stderr $*.newerr
%.clean: