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:
parent
8a5fb0fe7b
commit
60501fe077
1 changed files with 2 additions and 2 deletions
|
|
@ -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:
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue