Permalink
Browse files

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.
  • Loading branch information...
wsfulton committed Feb 8, 2014
1 parent 8a5fb0f commit 60501fe077815568a7124906f360841b8e9be8d0
Showing with 2 additions and 2 deletions.
  1. +2 −2 Examples/test-suite/errors/Makefile.in
@@ -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:

0 comments on commit 60501fe

Please sign in to comment.