Permalink
Browse files

Don't error out on diff in unittests.

  • Loading branch information...
1 parent 553035c commit e78564a0825981667191576e95c75c33bc1ebfd1 @rbultje committed Oct 7, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 Makefile
View
4 Makefile
@@ -17,12 +17,12 @@ clean:
test1: c99conv$(EXT)
$(CC) -E unit.c -o unit.prev.c
./c99conv unit.prev.c unit.post.c
- diff -u unit.{prev,post}.c
+ diff -u unit.{prev,post}.c || :
test2: c99conv$(EXT)
$(CC) -E unit2.c -o unit2.prev.c
./c99conv unit2.prev.c unit2.post.c
- diff -u unit2.{prev,post}.c
+ diff -u unit2.{prev,post}.c || :
test3: c99conv$(EXT)
$(CC) $(CFLAGS) -E -o convert.prev.c convert.c

0 comments on commit e78564a

Please sign in to comment.