Tests are now more flexible about whitespace
git-svn-id: http://picoc.googlecode.com/svn/trunk@138 21eae674-98b7-11dd-bd71-f92a316d2d60
This commit is contained in:
parent
936c8ea07f
commit
b2c95a5604
|
@ -13,7 +13,7 @@ TESTS= 00_assignment.test \
|
|||
%.test: %.expect %.c
|
||||
@echo Test: $*...
|
||||
-@../picoc $*.c 2>&1 >$*.output
|
||||
@if [ "x`diff -qu $*.expect $*.output`" != "x" ]; \
|
||||
@if [ "x`diff -qbu $*.expect $*.output`" != "x" ]; \
|
||||
then \
|
||||
echo "error in test $*"; \
|
||||
diff -u $*.expect $*.output; \
|
||||
|
|
Loading…
Reference in a new issue