Skip to content

Commit

Permalink
Don't error out on diff in unittests.
Browse files Browse the repository at this point in the history
  • Loading branch information
rbultje committed Oct 8, 2012
1 parent 553035c commit e78564a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Expand Up @@ -17,12 +17,12 @@ clean:
test1: c99conv$(EXT) test1: c99conv$(EXT)
$(CC) -E unit.c -o unit.prev.c $(CC) -E unit.c -o unit.prev.c
./c99conv unit.prev.c unit.post.c ./c99conv unit.prev.c unit.post.c
diff -u unit.{prev,post}.c diff -u unit.{prev,post}.c || :


test2: c99conv$(EXT) test2: c99conv$(EXT)
$(CC) -E unit2.c -o unit2.prev.c $(CC) -E unit2.c -o unit2.prev.c
./c99conv unit2.prev.c unit2.post.c ./c99conv unit2.prev.c unit2.post.c
diff -u unit2.{prev,post}.c diff -u unit2.{prev,post}.c || :


test3: c99conv$(EXT) test3: c99conv$(EXT)
$(CC) $(CFLAGS) -E -o convert.prev.c convert.c $(CC) $(CFLAGS) -E -o convert.prev.c convert.c
Expand Down

0 comments on commit e78564a

Please sign in to comment.